Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007903/0.007903, allocations: 102.7 kB / 15.73 MB, free: 5.961 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.001558/0.001559, allocations: 190 kB / 16.67 MB, free: 5.883 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9465/0.9465, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.84 kB / 0.5857 GB, free: 3.254 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5064, allocations: 80.91 MB / 0.6647 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005611/0.5121, allocations: 4.435 MB / 0.669 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002352/0.5145, allocations: 2.689 MB / 0.6716 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.5146, allocations: 5.375 kB / 0.6716 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.5149, allocations: 51.31 kB / 0.6717 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.5152, allocations: 91.39 kB / 0.6718 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.5164, allocations: 0.4963 MB / 0.6723 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.5167, allocations: 237.2 kB / 0.6725 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.547e-05/0.5168, allocations: 13.08 kB / 0.6725 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.5179, allocations: 419.2 kB / 0.6729 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.5181, allocations: 93.44 kB / 0.673 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.5181, allocations: 7.656 kB / 0.673 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.5192, allocations: 488.9 kB / 0.6735 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.5193, allocations: 38.45 kB / 0.6735 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.311e-05/0.5194, allocations: 83.09 kB / 0.6736 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005842/0.52, allocations: 354.4 kB / 0.6739 GB, free: 420 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.52, allocations: 4 kB / 0.6739 GB, free: 416 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.52, allocations: 1.156 kB / 0.6739 GB, free: 416 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.52, allocations: 0 / 0.6739 GB, free: 416 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007225/0.5207, allocations: 496.3 kB / 0.6744 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.5208, allocations: 9.594 kB / 0.6744 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.5209, allocations: 29.98 kB / 0.6744 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.5212, allocations: 215.8 kB / 0.6746 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5212, allocations: 15.83 kB / 0.6747 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.5212, allocations: 14.62 kB / 0.6747 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.5217, allocations: 243.7 kB / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5217, allocations: 1.438 kB / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.5217, allocations: 10.67 kB / 0.6749 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.5217, allocations: 9.375 kB / 0.6749 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004965/0.5222, allocations: 437 kB / 0.6753 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.5233, allocations: 1.004 MB / 0.6763 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.5236, allocations: 159.7 kB / 0.6765 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.5237, allocations: 62.61 kB / 0.6765 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/0.5251, allocations: 1.83 MB / 0.6783 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.5252, allocations: 37 kB / 0.6784 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.5252, allocations: 0 / 0.6784 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003732/0.5256, allocations: 147.5 kB / 0.6785 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.5256, allocations: 56.75 kB / 0.6785 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.5258, allocations: 171.3 kB / 0.6787 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.5258, allocations: 27.14 kB / 0.6787 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.5259, allocations: 144.1 kB / 0.6789 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.5259, allocations: 65.31 kB / 0.6789 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.526, allocations: 56.83 kB / 0.679 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5261, allocations: 322.7 kB / 0.6793 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.5262, allocations: 33.48 kB / 0.6793 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.5264, allocations: 139.6 kB / 0.6795 GB, free: 11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.5266, allocations: 206.1 kB / 0.6797 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.5266, allocations: 1.5 kB / 0.6797 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003224/0.5269, allocations: 212.9 kB / 0.6799 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.527, allocations: 6.188 kB / 0.6799 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.527, allocations: 4.344 kB / 0.6799 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.527, allocations: 4.938 kB / 0.6799 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.5272, allocations: 60.41 kB / 0.6799 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.5272, allocations: 9.531 kB / 0.6799 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.5273, allocations: 27.41 kB / 0.68 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.5273, allocations: 14.47 kB / 0.68 GB, free: 10.65 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.5275, allocations: 137.8 kB / 0.6801 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.5275, allocations: 15.34 kB / 0.6801 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.5278, allocations: 152.7 kB / 0.6803 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.5278, allocations: 6.594 kB / 0.6803 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5279, allocations: 0 / 0.6803 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5279, allocations: 1.531 kB / 0.6803 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.5281, allocations: 216.7 kB / 0.6805 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5281, allocations: 0 / 0.6805 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.279e-05/0.5282, allocations: 31.61 kB / 0.6805 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5282, allocations: 1.25 kB / 0.6805 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5283, allocations: 9.031 kB / 0.6805 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.5283, allocations: 4.938 kB / 0.6805 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5283, allocations: 1.219 kB / 0.6805 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.5285, allocations: 219.9 kB / 0.6807 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.5286, allocations: 104.3 kB / 0.6808 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.5286, allocations: 5.094 kB / 0.6809 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.5289, allocations: 16.02 kB / 0.6809 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.5289, allocations: 21.2 kB / 0.6809 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.5289, allocations: 5.875 kB / 0.6809 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.221e-05/0.529, allocations: 119.1 kB / 0.681 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.565e-06/0.529, allocations: 0.9375 kB / 0.681 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004161/0.5294, allocations: 93.48 kB / 0.6811 GB, free: 9.707 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003166/0.5298, allocations: 172.1 kB / 0.6813 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.53, allocations: 125.3 kB / 0.6814 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.53, allocations: 3.938 kB / 0.6814 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/0.5301, allocations: 39.98 kB / 0.6814 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.5305, allocations: 55.39 kB / 0.6815 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006944/0.5312, allocations: 337.4 kB / 0.6818 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.5316, allocations: 0.7161 MB / 0.6825 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.5317, allocations: 49.53 kB / 0.6825 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.5318, allocations: 24.72 kB / 0.6826 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.5318, allocations: 0 / 0.6826 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of Templates: time 0.006969/0.5387, allocations: 3.338 MB / 0.6858 GB, free: 6.816 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)