Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008724/0.0008725, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001154/0.001154, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001596/0.001596, allocations: 266.7 kB / 291.3 MB, free: 1.992 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7376/0.7376, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 12.41 kB / 0.5683 GB, free: 38.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 83.09 MB / 0.6494 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01151/0.1333, allocations: 11.16 MB / 0.6603 GB, free: 8.453 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1353, allocations: 2.136 MB / 0.6624 GB, free: 6.312 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.819e-05/0.1354, allocations: 0 / 0.6624 GB, free: 6.312 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.1357, allocations: 39.8 kB / 0.6625 GB, free: 6.273 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1359, allocations: 83.75 kB / 0.6625 GB, free: 6.191 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009691/0.1368, allocations: 430.3 kB / 0.6629 GB, free: 5.773 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.137, allocations: 152.7 kB / 0.6631 GB, free: 5.625 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.1371, allocations: 17.5 kB / 0.6631 GB, free: 5.602 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006938/0.144, allocations: 4.294 MB / 0.6673 GB, free: 1.312 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1442, allocations: 83.67 kB / 0.6674 GB, free: 1.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1442, allocations: 4 kB / 0.6674 GB, free: 1.227 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.1462, allocations: 0.9992 MB / 0.6684 GB, free: 236 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.1463, allocations: 35.89 kB / 0.6684 GB, free: 200 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.1463, allocations: 53.64 kB / 0.6684 GB, free: 140 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.1466, allocations: 223.8 kB / 0.6687 GB, free: 15.92 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.1466, allocations: 3.938 kB / 0.6687 GB, free: 15.91 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1466, allocations: 0 / 0.6687 GB, free: 15.91 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1467, allocations: 4 kB / 0.6687 GB, free: 15.91 MB / 478.1 MB 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.000566/0.1472, allocations: 471.1 kB / 0.6691 GB, free: 15.4 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.1473, allocations: 8.031 kB / 0.6691 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.1474, allocations: 27.8 kB / 0.6691 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1476, allocations: 218.8 kB / 0.6694 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1476, allocations: 20.27 kB / 0.6694 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.1477, allocations: 19.98 kB / 0.6694 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.148, allocations: 240.1 kB / 0.6696 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.148, allocations: 0 / 0.6696 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.148, allocations: 11.94 kB / 0.6696 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.1481, allocations: 7.984 kB / 0.6696 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.1485, allocations: 435.9 kB / 0.6701 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.1496, allocations: 1.015 MB / 0.671 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.1499, allocations: 160.4 kB / 0.6712 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.1511, allocations: 1.848 MB / 0.673 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1511, allocations: 42.45 kB / 0.673 GB, free: 10.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.1511, allocations: 4 kB / 0.6731 GB, free: 10.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002746/0.1514, allocations: 139.3 kB / 0.6732 GB, free: 10.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.1514, allocations: 55.41 kB / 0.6732 GB, free: 10.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1516, allocations: 168.9 kB / 0.6734 GB, free: 10.46 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1516, allocations: 29.7 kB / 0.6734 GB, free: 10.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.1517, allocations: 135.8 kB / 0.6736 GB, free: 10.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.1517, allocations: 55.2 kB / 0.6736 GB, free: 10.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.1517, allocations: 4 kB / 0.6736 GB, free: 10.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1518, allocations: 330.8 kB / 0.6739 GB, free: 9.898 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.1519, allocations: 35.92 kB / 0.674 GB, free: 9.863 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.152, allocations: 141.7 kB / 0.6741 GB, free: 9.676 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.174e-05/0.1521, allocations: 47.94 kB / 0.6741 GB, free: 9.629 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1521, allocations: 4 kB / 0.6741 GB, free: 9.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002847/0.1524, allocations: 214.6 kB / 0.6744 GB, free: 9.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1524, allocations: 12.09 kB / 0.6744 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1525, allocations: 3.953 kB / 0.6744 GB, free: 9.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1525, allocations: 8 kB / 0.6744 GB, free: 9.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.1527, allocations: 55.91 kB / 0.6744 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1527, allocations: 7.938 kB / 0.6744 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1528, allocations: 31.69 kB / 0.6745 GB, free: 9.293 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.1528, allocations: 15.98 kB / 0.6745 GB, free: 9.277 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.9e-05/0.1529, allocations: 129.8 kB / 0.6746 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.153, allocations: 19.81 kB / 0.6746 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.1532, allocations: 158.1 kB / 0.6748 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.1533, allocations: 7.953 kB / 0.6748 GB, free: 8.961 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1533, allocations: 0 / 0.6748 GB, free: 8.961 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1533, allocations: 0 / 0.6748 GB, free: 8.961 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.1535, allocations: 221.5 kB / 0.675 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1535, allocations: 3.938 kB / 0.675 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1536, allocations: 27.98 kB / 0.675 GB, free: 8.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1536, allocations: 0 / 0.675 GB, free: 8.664 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1536, allocations: 11.98 kB / 0.675 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1536, allocations: 0 / 0.675 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1536, allocations: 3.953 kB / 0.675 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.1539, allocations: 229.2 kB / 0.6753 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.154, allocations: 120.8 kB / 0.6754 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.154, allocations: 11.98 kB / 0.6754 GB, free: 8.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.1542, allocations: 23.98 kB / 0.6754 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.1542, allocations: 15.94 kB / 0.6754 GB, free: 8.223 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.1542, allocations: 8 kB / 0.6754 GB, free: 8.215 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.126e-05/0.1543, allocations: 122 kB / 0.6755 GB, free: 8.098 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1543, allocations: 0 / 0.6755 GB, free: 8.098 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.1547, allocations: 75.94 kB / 0.6756 GB, free: 8.023 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002145/0.1549, allocations: 171.2 kB / 0.6758 GB, free: 7.848 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1551, allocations: 116.5 kB / 0.6759 GB, free: 7.734 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1551, allocations: 0 / 0.6759 GB, free: 7.734 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 5.559e-05/0.1552, allocations: 50.16 kB / 0.6759 GB, free: 7.688 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1555, allocations: 53.8 kB / 0.676 GB, free: 7.637 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.1561, allocations: 423.5 kB / 0.6764 GB, free: 7.195 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1563, allocations: 0.7211 MB / 0.6771 GB, free: 6.449 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.1565, allocations: 53.67 kB / 0.6772 GB, free: 6.395 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1566, allocations: 23.42 kB / 0.6772 GB, free: 6.371 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1566, allocations: 0 / 0.6772 GB, free: 6.371 MB / 478.1 MB Notification: Performance of Templates: time 0.005483/0.1621, allocations: 3.374 MB / 0.6805 GB, free: 3.043 MB / 478.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: