Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008279/0.0008279, allocations: 99.55 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.0009037/0.0009038, 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.137/1.137, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001598/0.001598, allocations: 278.1 kB / 291.3 MB, free: 1.914 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.7044/0.7044, allocations: 144.6 MB / 487 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003815, allocations: 14.41 kB / 0.5683 GB, free: 38.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1213, allocations: 83.09 MB / 0.6494 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001128/0.1224, allocations: 1.064 MB / 0.6505 GB, free: 2.492 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.125, allocations: 2.564 MB / 0.653 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.125, allocations: 3.938 kB / 0.653 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 6.345e-05/0.1251, allocations: 0 / 0.653 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.66e-05/0.1251, allocations: 25.47 kB / 0.653 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.1255, allocations: 164.2 kB / 0.6531 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1257, allocations: 160.8 kB / 0.6533 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.1257, allocations: 3.984 kB / 0.6533 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.1258, allocations: 79.94 kB / 0.6534 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.076e-05/0.1259, allocations: 100.5 kB / 0.6535 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.1259, allocations: 12.59 kB / 0.6535 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.1262, allocations: 161.5 kB / 0.6536 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.1263, allocations: 84.56 kB / 0.6537 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.1264, allocations: 45.64 kB / 0.6538 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.1266, allocations: 184.8 kB / 0.6539 GB, free: 14.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1266, allocations: 4 kB / 0.6539 GB, free: 14.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1266, allocations: 1.094 kB / 0.6539 GB, free: 14.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.1266, allocations: 0 / 0.6539 GB, free: 14.92 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006672/0.1273, allocations: 0.5241 MB / 0.6545 GB, free: 14.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.644e-05/0.1273, allocations: 8.031 kB / 0.6545 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.1274, allocations: 24.38 kB / 0.6545 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.1276, allocations: 243.8 kB / 0.6547 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.1277, allocations: 27.92 kB / 0.6547 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1277, allocations: 12 kB / 0.6548 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.1283, allocations: 314.4 kB / 0.6551 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.1283, allocations: 4.641 kB / 0.6551 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.1283, allocations: 8 kB / 0.6551 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1284, allocations: 5.719 kB / 0.6551 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.1297, allocations: 0.8048 MB / 0.6559 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.13, allocations: 313 kB / 0.6562 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.1316, allocations: 0.7736 MB / 0.6569 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/0.132, allocations: 388.3 kB / 0.6573 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.132, allocations: 34.56 kB / 0.6573 GB, free: 11.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 1.323e-06/0.132, allocations: 0 / 0.6573 GB, free: 11.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.001539/0.1335, allocations: 0.7316 MB / 0.658 GB, free: 10.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.1336, allocations: 55.41 kB / 0.6581 GB, free: 10.44 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.1337, allocations: 130.1 kB / 0.6582 GB, free: 10.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1337, allocations: 29.7 kB / 0.6582 GB, free: 10.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.1337, allocations: 96.78 kB / 0.6583 GB, free: 10.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.583e-05/0.1338, allocations: 122.2 kB / 0.6584 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.1339, allocations: 4 kB / 0.6585 GB, free: 10.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.1339, allocations: 330.8 kB / 0.6588 GB, free: 9.711 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.1344, allocations: 227.7 kB / 0.659 GB, free: 9.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.1349, allocations: 227.8 kB / 0.6592 GB, free: 9.266 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.1353, allocations: 205.5 kB / 0.6594 GB, free: 9.066 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1353, allocations: 4 kB / 0.6594 GB, free: 9.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009997/0.1363, allocations: 0.5083 MB / 0.6599 GB, free: 8.547 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1364, allocations: 7.984 kB / 0.6599 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1364, allocations: 0 / 0.6599 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1364, allocations: 4 kB / 0.6599 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.1367, allocations: 111.9 kB / 0.66 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1368, allocations: 0 / 0.66 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.1369, allocations: 67.7 kB / 0.6601 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.137, allocations: 15.98 kB / 0.6601 GB, free: 8.344 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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 0.000106/0.1371, allocations: 141.7 kB / 0.6602 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.1371, allocations: 19.77 kB / 0.6603 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.1382, allocations: 0.5746 MB / 0.6608 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1383, allocations: 4 kB / 0.6608 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1383, allocations: 3.984 kB / 0.6608 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1383, allocations: 4 kB / 0.6608 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.1385, allocations: 317.2 kB / 0.6611 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1386, allocations: 0 / 0.6611 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.1389, allocations: 111.8 kB / 0.6612 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1389, allocations: 3.953 kB / 0.6612 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.1389, allocations: 12 kB / 0.6612 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.1389, allocations: 4 kB / 0.6613 GB, free: 7.102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1389, allocations: 3.984 kB / 0.6613 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.14, allocations: 0.5436 MB / 0.6618 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.14, allocations: 92.86 kB / 0.6619 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.14, allocations: 15.94 kB / 0.6619 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.1402, allocations: 51.97 kB / 0.6619 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.1404, allocations: 115.8 kB / 0.6621 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.1405, allocations: 15.98 kB / 0.6621 GB, free: 6.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.862e-05/0.1405, allocations: 95.27 kB / 0.6622 GB, free: 6.137 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.1405, allocations: 0 / 0.6622 GB, free: 6.137 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.1408, allocations: 127.8 kB / 0.6623 GB, free: 6.012 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 (37): * Single equations (assignments): 37 * 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.0002774/0.1411, allocations: 187.1 kB / 0.6625 GB, free: 5.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.1421, allocations: 0.5224 MB / 0.663 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1422, allocations: 0 / 0.663 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005266/0.1427, allocations: 288.6 kB / 0.6632 GB, free: 5.016 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.143, allocations: 75.88 kB / 0.6633 GB, free: 4.941 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.1436, allocations: 494.8 kB / 0.6638 GB, free: 4.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1439, allocations: 0.737 MB / 0.6645 GB, free: 3.668 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003637/0.1443, allocations: 186.4 kB / 0.6647 GB, free: 3.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.961e-05/0.1444, allocations: 39.42 kB / 0.6647 GB, free: 3.473 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1444, allocations: 0 / 0.6647 GB, free: 3.473 MB / 462.1 MB Notification: Performance of Templates: time 0.007008/0.1514, allocations: 4.689 MB / 0.6693 GB, free: 14.85 MB / 478.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) Environment - environmentSimulation: