Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009592/0.0009592, allocations: 105.5 kB / 16.41 MB, free: 6.48 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.001015/0.001015, allocations: 189.5 kB / 17.34 MB, free: 5.746 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.175/1.175, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7238/0.7238, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.41 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1198, allocations: 80.92 MB / 0.6654 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004779/0.1246, allocations: 4.06 MB / 0.6693 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002385/0.127, allocations: 2.426 MB / 0.6717 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.1271, allocations: 0 / 0.6717 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.1273, allocations: 51.66 kB / 0.6717 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.1276, allocations: 95.36 kB / 0.6718 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.1287, allocations: 0.5166 MB / 0.6723 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.129, allocations: 263.8 kB / 0.6726 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.1291, allocations: 9.562 kB / 0.6726 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.1293, allocations: 115.6 kB / 0.6727 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1294, allocations: 99.59 kB / 0.6728 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1294, allocations: 8 kB / 0.6728 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007522/0.1302, allocations: 455.3 kB / 0.6733 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.1303, allocations: 43.83 kB / 0.6733 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.491e-05/0.1304, allocations: 83.64 kB / 0.6734 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.131, allocations: 406.9 kB / 0.6738 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.131, allocations: 3.984 kB / 0.6738 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.92e-07/0.131, allocations: 0 / 0.6738 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.507e-06/0.131, allocations: 0 / 0.6738 GB, free: 13.1 MB / 0.5137 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.0006818/0.1317, allocations: 0.5071 MB / 0.6743 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1317, allocations: 13.11 kB / 0.6743 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.1336, allocations: 172.5 kB / 0.6744 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.1339, allocations: 212.1 kB / 0.6746 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1339, allocations: 12.7 kB / 0.6747 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.134, allocations: 20.38 kB / 0.6747 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.1345, allocations: 304.3 kB / 0.675 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1345, allocations: 0 / 0.675 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.1346, allocations: 8 kB / 0.675 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.1346, allocations: 15.92 kB / 0.675 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006129/0.1352, allocations: 259.6 kB / 0.6752 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.1367, allocations: 1.389 MB / 0.6766 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.1373, allocations: 186.8 kB / 0.6768 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.1375, allocations: 76.81 kB / 0.6768 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1375, allocations: 8 kB / 0.6768 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1375, allocations: 42.48 kB / 0.6769 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.1375, allocations: 0 / 0.6769 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006684/0.1382, allocations: 243 kB / 0.6771 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.1383, allocations: 59.41 kB / 0.6772 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1384, allocations: 162.2 kB / 0.6773 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.1384, allocations: 25.7 kB / 0.6774 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.1385, allocations: 132 kB / 0.6775 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.1385, allocations: 63.09 kB / 0.6775 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.1386, allocations: 49.84 kB / 0.6776 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.1387, allocations: 330.8 kB / 0.6779 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.1389, allocations: 68.42 kB / 0.678 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.1391, allocations: 143.2 kB / 0.6781 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.1395, allocations: 219.1 kB / 0.6783 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1396, allocations: 0 / 0.6783 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005128/0.1401, allocations: 257 kB / 0.6786 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1401, allocations: 6.031 kB / 0.6786 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1401, allocations: 4 kB / 0.6786 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1401, allocations: 4 kB / 0.6786 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.1405, allocations: 63.89 kB / 0.6786 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1405, allocations: 4.312 kB / 0.6786 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.1407, allocations: 27.83 kB / 0.6787 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.1408, allocations: 16 kB / 0.6787 GB, free: 7.68 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0001083/0.1409, allocations: 137.6 kB / 0.6788 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.1409, allocations: 15.81 kB / 0.6788 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.1415, allocations: 232.7 kB / 0.679 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1415, allocations: 0 / 0.679 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1415, allocations: 4 kB / 0.6791 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1415, allocations: 0 / 0.6791 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.1417, allocations: 245.4 kB / 0.6793 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1418, allocations: 0 / 0.6793 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.1421, allocations: 43.97 kB / 0.6793 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1421, allocations: 3.938 kB / 0.6793 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1421, allocations: 4 kB / 0.6793 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1421, allocations: 8 kB / 0.6793 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1421, allocations: 3.984 kB / 0.6793 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.1426, allocations: 303.1 kB / 0.6796 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.1427, allocations: 108.8 kB / 0.6797 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.1427, allocations: 0 / 0.6797 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.143, allocations: 15.98 kB / 0.6798 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.143, allocations: 15.98 kB / 0.6798 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.143, allocations: 11.98 kB / 0.6798 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.565e-05/0.1431, allocations: 118.9 kB / 0.6799 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1431, allocations: 4 kB / 0.6799 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003124/0.1434, allocations: 60.06 kB / 0.68 GB, free: 6.273 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.000175/0.1436, allocations: 136.5 kB / 0.6801 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004534/0.1441, allocations: 182.3 kB / 0.6803 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.1441, allocations: 4.625 kB / 0.6803 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.1443, allocations: 91.88 kB / 0.6804 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.1447, allocations: 63.88 kB / 0.6804 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/0.1456, allocations: 432.8 kB / 0.6808 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.1458, allocations: 0.7134 MB / 0.6815 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1459, allocations: 31.42 kB / 0.6816 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of SimCode: time 1.9e-07/0.1459, allocations: 0 / 0.6816 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of Templates: time 0.004351/0.1503, allocations: 2.956 MB / 0.6844 GB, free: 1.637 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)