Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001926/0.001927, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00266/0.00266, allocations: 195 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.925/1.925, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.279/1.279, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 60.8 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1844, allocations: 80.92 MB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5117/0.6961, allocations: 151.6 MB / 0.732 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02458/0.7207, allocations: 10.27 MB / 0.7421 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.7222, allocations: 20.94 kB / 0.7421 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.7236, allocations: 208.8 kB / 0.7423 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004123/0.7278, allocations: 0.8074 MB / 0.7431 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.7311, allocations: 0.936 MB / 0.744 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002412/0.7335, allocations: 1.506 MB / 0.7455 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.7354, allocations: 1.139 MB / 0.7466 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/0.7384, allocations: 0.6587 MB / 0.7472 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.7396, allocations: 0.5634 MB / 0.7478 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004677/0.7401, allocations: 121.7 kB / 0.7479 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.7431, allocations: 0.9987 MB / 0.7489 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000628/0.7438, allocations: 358.5 kB / 0.7492 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.7449, allocations: 0.6086 MB / 0.7498 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005614/0.7505, allocations: 2.053 MB / 0.7518 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.7505, allocations: 4 kB / 0.7518 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7505, allocations: 0 / 0.7518 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.245e-05/0.7506, allocations: 3.984 kB / 0.7518 GB, free: 1.418 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.005651/0.7563, allocations: 1.625 MB / 0.7534 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.7564, allocations: 8.031 kB / 0.7534 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004705/0.7568, allocations: 151.7 kB / 0.7535 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/0.7599, allocations: 258.1 kB / 0.7538 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/0.763, allocations: 1.023 MB / 0.7548 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.7631, allocations: 81.86 kB / 0.7549 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/0.7635, allocations: 92 kB / 0.755 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003731/0.7672, allocations: 1.039 MB / 0.756 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.7673, allocations: 0 / 0.756 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.7675, allocations: 36 kB / 0.756 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.7675, allocations: 24 kB / 0.756 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003949/0.7715, allocations: 1.268 MB / 0.7573 GB, free: 11.68 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009714/0.7812, allocations: 3.13 MB / 0.7603 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.7845, allocations: 1.008 MB / 0.7613 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.7858, allocations: 399.6 kB / 0.7617 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/0.7863, allocations: 134.1 kB / 0.7618 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/0.7881, allocations: 0.5436 MB / 0.7623 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=86): time 5.34e-06/0.7881, allocations: 4 kB / 0.7623 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86): time 0.007104/0.7952, allocations: 1.506 MB / 0.7638 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.7955, allocations: 192.9 kB / 0.764 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.7977, allocations: 0.9852 MB / 0.765 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/0.7979, allocations: 41.7 kB / 0.765 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.7985, allocations: 444.4 kB / 0.7654 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003982/0.7989, allocations: 283.9 kB / 0.7657 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/0.7994, allocations: 154.5 kB / 0.7658 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.7996, allocations: 337.9 kB / 0.7662 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.8008, allocations: 297.8 kB / 0.7665 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.8021, allocations: 437.9 kB / 0.7669 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002537/0.8047, allocations: 0.7062 MB / 0.7676 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.8047, allocations: 0 / 0.7676 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004442/0.8092, allocations: 0.9666 MB / 0.7685 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.8092, allocations: 7.938 kB / 0.7685 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.8093, allocations: 0 / 0.7685 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.8107, allocations: 117.6 kB / 0.7686 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.8124, allocations: 187.8 kB / 0.7688 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/0.8174, allocations: 3.063 MB / 0.7718 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.8189, allocations: 95.27 kB / 0.7719 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.8191, allocations: 31.97 kB / 0.7719 GB, free: 12.03 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008179/0.8199, allocations: 287.1 kB / 0.7722 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003882/0.8203, allocations: 102.8 kB / 0.7723 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/0.8243, allocations: 1.224 MB / 0.7735 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.8243, allocations: 8 kB / 0.7735 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.8243, allocations: 3.938 kB / 0.7735 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.8243, allocations: 8.062 kB / 0.7735 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/0.8286, allocations: 2.275 MB / 0.7757 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.8286, allocations: 4 kB / 0.7757 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008843/0.8295, allocations: 179.8 kB / 0.7759 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006397/0.8302, allocations: 105.6 kB / 0.776 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.8303, allocations: 23.98 kB / 0.776 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003231/0.8335, allocations: 3.092 MB / 0.779 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8335, allocations: 3.938 kB / 0.779 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.8362, allocations: 1.137 MB / 0.7802 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/0.8367, allocations: 303.5 kB / 0.7804 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.8369, allocations: 16 kB / 0.7805 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/0.8378, allocations: 79.86 kB / 0.7805 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/0.838, allocations: 64.91 kB / 0.7806 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.8382, allocations: 43.97 kB / 0.7806 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001445/0.8396, allocations: 0.7177 MB / 0.7813 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8396, allocations: 0 / 0.7813 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001826/0.8415, allocations: 411.2 kB / 0.7817 GB, free: 1.559 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005343/0.8468, allocations: 2.311 MB / 0.784 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002987/0.8498, allocations: 1.26 MB / 0.7852 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8499, allocations: 0 / 0.7852 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.8512, allocations: 0.6904 MB / 0.7859 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.8531, allocations: 340 kB / 0.7862 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/0.8701, allocations: 8.693 MB / 0.7947 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000759/0.8709, allocations: 1.08 MB / 0.7958 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001352/0.8723, allocations: 299.3 kB / 0.796 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007172/0.873, allocations: 431.3 kB / 0.7965 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/0.873, allocations: 3.938 kB / 0.7965 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.02/1.893, allocations: 25.91 MB / 0.8218 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004864/1.894, allocations: 283.6 kB / 0.822 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.275/7.169, allocations: 12 kB / 0.8221 GB, free: 8.465 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)