Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, 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.001377/0.001377, 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.209/1.209, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001762, allocations: 266.4 kB / 291.2 MB, free: 1.883 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.7673/0.7673, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003896, allocations: 15.88 kB / 0.5683 GB, free: 38.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 83.09 MB / 0.6494 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.001382/0.1294, allocations: 1.148 MB / 0.6505 GB, free: 2.457 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001966/0.1296, allocations: 92.38 kB / 0.6506 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.1296, allocations: 0 / 0.6506 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.08e-05/0.1296, allocations: 1.719 kB / 0.6506 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.1297, allocations: 0 / 0.6506 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.1298, allocations: 15.97 kB / 0.6507 GB, free: 2.352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.587e-05/0.1298, allocations: 11.98 kB / 0.6507 GB, free: 2.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.426e-05/0.1299, allocations: 13.48 kB / 0.6507 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.324e-05/0.13, allocations: 11.92 kB / 0.6507 GB, free: 2.316 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.13, allocations: 11.94 kB / 0.6507 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.13, allocations: 5.125 kB / 0.6507 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-05/0.1301, allocations: 11.98 kB / 0.6507 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.1301, allocations: 7.984 kB / 0.6507 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.1301, allocations: 26.27 kB / 0.6507 GB, free: 2.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.106e-05/0.1302, allocations: 23.97 kB / 0.6508 GB, free: 2.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.1302, allocations: 5.094 kB / 0.6508 GB, free: 2.223 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1302, allocations: 0 / 0.6508 GB, free: 2.223 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1302, allocations: 0 / 0.6508 GB, free: 2.223 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003741/0.1306, allocations: 338.3 kB / 0.6511 GB, free: 1.848 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1306, allocations: 12.03 kB / 0.6511 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.1308, allocations: 15.11 kB / 0.6511 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1309, allocations: 167 kB / 0.6513 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.1309, allocations: 3.953 kB / 0.6513 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.131, allocations: 7.938 kB / 0.6513 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.1311, allocations: 66.34 kB / 0.6514 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.1312, allocations: 0 / 0.6514 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.1312, allocations: 1.25 kB / 0.6514 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1312, allocations: 3.984 kB / 0.6514 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.1314, allocations: 62.3 kB / 0.6514 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.1317, allocations: 275.5 kB / 0.6517 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1319, allocations: 60.61 kB / 0.6517 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.132, allocations: 4 kB / 0.6517 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.132, allocations: 31.84 kB / 0.6518 GB, free: 1.051 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.132, allocations: 4.062 kB / 0.6518 GB, free: 1.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004022/0.1324, allocations: 124 kB / 0.6519 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1324, allocations: 51.41 kB / 0.652 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.1325, allocations: 101.9 kB / 0.652 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1325, allocations: 29.7 kB / 0.6521 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.1326, allocations: 88.72 kB / 0.6522 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.1326, allocations: 10.34 kB / 0.6522 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.1326, allocations: 0 / 0.6522 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.1327, allocations: 314.8 kB / 0.6525 GB, free: 312 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.1328, allocations: 32.47 kB / 0.6525 GB, free: 280 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.29e-05/0.1329, allocations: 29.89 kB / 0.6525 GB, free: 252 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.914e-05/0.133, allocations: 34.17 kB / 0.6526 GB, free: 220 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.133, allocations: 0 / 0.6526 GB, free: 220 kB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002493/0.1333, allocations: 94.75 kB / 0.6527 GB, free: 124 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1333, allocations: 4 kB / 0.6527 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1333, allocations: 7.984 kB / 0.6527 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1333, allocations: 0 / 0.6527 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.1334, allocations: 14.34 kB / 0.6527 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1335, allocations: 3.984 kB / 0.6527 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.1335, allocations: 15.94 kB / 0.6527 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1335, allocations: 0 / 0.6527 GB, free: 80 kB / 446.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 (2): * Single equations (assignments): 2 * 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 8.547e-05/0.1336, allocations: 122.5 kB / 0.6528 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1337, allocations: 8.656 kB / 0.6528 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.1337, allocations: 3.781 kB / 0.6528 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1337, allocations: 224 / 0.6528 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1337, allocations: 8 kB / 0.6528 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1337, allocations: 0 / 0.6528 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.1339, allocations: 165.7 kB / 0.653 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1339, allocations: 3.953 kB / 0.653 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.134, allocations: 15.98 kB / 0.653 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.134, allocations: 0 / 0.653 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.134, allocations: 0 / 0.653 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.134, allocations: 0 / 0.653 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.134, allocations: 0 / 0.653 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1343, allocations: 187.5 kB / 0.6532 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.1343, allocations: 89.09 kB / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1343, allocations: 4 kB / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/0.1344, allocations: 11.98 kB / 0.6533 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.1345, allocations: 3.938 kB / 0.6533 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.1345, allocations: 0 / 0.6533 GB, free: 15.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.1345, allocations: 87.27 kB / 0.6534 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1345, allocations: 0 / 0.6534 GB, free: 15.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002048/0.1347, allocations: 8 kB / 0.6534 GB, free: 15.28 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 (2): * Single equations (assignments): 2 * 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 9.718e-05/0.1348, allocations: 103.2 kB / 0.6535 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.1351, allocations: 63.95 kB / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1351, allocations: 4 kB / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1352, allocations: 27.97 kB / 0.6536 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.1354, allocations: 8 kB / 0.6536 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.1356, allocations: 140.6 kB / 0.6537 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.1361, allocations: 0.6809 MB / 0.6544 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.619e-05/0.1362, allocations: 0 / 0.6544 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.1362, allocations: 11.44 kB / 0.6544 GB, free: 14.19 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1362, allocations: 4 kB / 0.6544 GB, free: 14.18 MB / 462.1 MB Notification: Performance of Templates: time 0.002139/0.1383, allocations: 496.9 kB / 0.6549 GB, free: 13.7 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: