Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.000849/0.000849, allocations: 99.86 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.0008702/0.0008703, allocations: 177.3 kB / 15.94 MB, free: 228 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.169/1.169, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001623/0.001623, allocations: 266.6 kB / 291.3 MB, free: 1.871 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.7182/0.7182, allocations: 144.6 MB / 487 MB, free: 7.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 16.5 kB / 0.5683 GB, free: 38.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 83.09 MB / 0.6494 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.002956/0.1208, allocations: 3.056 MB / 0.6524 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1228, allocations: 2.181 MB / 0.6545 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.1229, allocations: 0.5312 kB / 0.6545 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.1231, allocations: 36.39 kB / 0.6546 GB, free: 14.37 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.1232, allocations: 88.98 kB / 0.6547 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007699/0.124, allocations: 449.9 kB / 0.6551 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.1242, allocations: 172.7 kB / 0.6553 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.1243, allocations: 12 kB / 0.6553 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1244, allocations: 99.67 kB / 0.6554 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.1245, allocations: 75.73 kB / 0.6554 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1245, allocations: 8 kB / 0.6554 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006186/0.1252, allocations: 401.5 kB / 0.6558 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.1252, allocations: 35.84 kB / 0.6559 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.1253, allocations: 57.64 kB / 0.6559 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.1256, allocations: 247.7 kB / 0.6561 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.1256, allocations: 0.9062 kB / 0.6561 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1256, allocations: 3.938 kB / 0.6562 GB, free: 12.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1256, allocations: 0 / 0.6562 GB, free: 12.77 MB / 462.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.0005359/0.1262, allocations: 482.4 kB / 0.6566 GB, free: 12.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.1262, allocations: 8.031 kB / 0.6566 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.128, allocations: 185.4 kB / 0.6568 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.1282, allocations: 210.7 kB / 0.657 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1282, allocations: 14.05 kB / 0.657 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.1282, allocations: 19.97 kB / 0.657 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.1288, allocations: 305.3 kB / 0.6573 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1288, allocations: 7.875 kB / 0.6573 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.1288, allocations: 8 kB / 0.6573 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1289, allocations: 4 kB / 0.6573 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.1295, allocations: 263.6 kB / 0.6576 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.1309, allocations: 1.4 MB / 0.659 GB, free: 9.656 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.1315, allocations: 190.5 kB / 0.6591 GB, free: 9.461 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1315, allocations: 4 kB / 0.6591 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.1316, allocations: 38.56 kB / 0.6592 GB, free: 9.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.173e-06/0.1316, allocations: 4 kB / 0.6592 GB, free: 9.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006691/0.1322, allocations: 247.2 kB / 0.6594 GB, free: 9.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.1323, allocations: 51.41 kB / 0.6595 GB, free: 9.098 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1324, allocations: 154.2 kB / 0.6596 GB, free: 8.938 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1324, allocations: 33.7 kB / 0.6597 GB, free: 8.898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.1325, allocations: 124 kB / 0.6598 GB, free: 8.773 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.1325, allocations: 67.08 kB / 0.6598 GB, free: 8.707 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.1326, allocations: 4 kB / 0.6598 GB, free: 8.703 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.1327, allocations: 326.8 kB / 0.6601 GB, free: 8.375 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.1328, allocations: 64.42 kB / 0.6602 GB, free: 8.309 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.1331, allocations: 136 kB / 0.6603 GB, free: 8.145 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.1333, allocations: 81.78 kB / 0.6604 GB, free: 8.066 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1333, allocations: 3.938 kB / 0.6604 GB, free: 8.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005123/0.1338, allocations: 253 kB / 0.6607 GB, free: 7.809 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1338, allocations: 8 kB / 0.6607 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1339, allocations: 4.312 kB / 0.6607 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1339, allocations: 8 kB / 0.6607 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.1342, allocations: 63.89 kB / 0.6607 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1342, allocations: 4 kB / 0.6607 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.1345, allocations: 35.72 kB / 0.6608 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1345, allocations: 15.98 kB / 0.6608 GB, free: 7.672 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.779e-05/0.1346, allocations: 125.8 kB / 0.6609 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.1346, allocations: 23.81 kB / 0.6609 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/0.1352, allocations: 222.7 kB / 0.6612 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1352, allocations: 4 kB / 0.6612 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1352, allocations: 0 / 0.6612 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1352, allocations: 0 / 0.6612 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.1355, allocations: 245.3 kB / 0.6614 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1355, allocations: 3.938 kB / 0.6614 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.1358, allocations: 59.89 kB / 0.6614 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1358, allocations: 4 kB / 0.6615 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1358, allocations: 0 / 0.6615 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1358, allocations: 0 / 0.6615 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1358, allocations: 0 / 0.6615 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.1363, allocations: 301.9 kB / 0.6617 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.1364, allocations: 116.8 kB / 0.6619 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.1364, allocations: 4 kB / 0.6619 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.1367, allocations: 19.98 kB / 0.6619 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.1367, allocations: 11.98 kB / 0.6619 GB, free: 6.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.1368, allocations: 7.984 kB / 0.6619 GB, free: 6.449 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.899e-05/0.1368, allocations: 117.7 kB / 0.662 GB, free: 6.336 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.283e-06/0.1368, allocations: 0 / 0.662 GB, free: 6.336 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003086/0.1372, allocations: 72.06 kB / 0.6621 GB, free: 6.266 MB / 462.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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0001582/0.1373, allocations: 131.2 kB / 0.6622 GB, free: 6.129 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.1378, allocations: 189 kB / 0.6624 GB, free: 5.945 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1378, allocations: 0 / 0.6624 GB, free: 5.945 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.138, allocations: 88.52 kB / 0.6625 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1384, allocations: 55.94 kB / 0.6625 GB, free: 5.805 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000789/0.1392, allocations: 0.4897 MB / 0.663 GB, free: 5.277 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.1394, allocations: 0.7254 MB / 0.6637 GB, free: 4.527 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003112/0.1397, allocations: 53.92 kB / 0.6638 GB, free: 4.477 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.1398, allocations: 23.42 kB / 0.6638 GB, free: 4.453 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1398, allocations: 0 / 0.6638 GB, free: 4.453 MB / 462.1 MB Notification: Performance of Templates: time 0.005322/0.1451, allocations: 3.124 MB / 0.6668 GB, free: 1.41 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) Environment - environmentSimulation: