Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7002/0.7002, allocations: 128.7 MB / 144.5 MB, free: 1.391 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 187.5 kB / 174.3 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205 MB / 408.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008421/0.0008421, allocations: 92.78 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 52.92 kB / 0.558 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1216, allocations: 75.48 MB / 0.6317 GB, free: 33.08 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.004569/0.1262, allocations: 4.735 MB / 0.6363 GB, free: 28.31 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1281, allocations: 2.664 MB / 0.6389 GB, free: 25.64 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.1282, allocations: 4 kB / 0.6389 GB, free: 25.63 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.1284, allocations: 39.8 kB / 0.6389 GB, free: 25.59 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.1287, allocations: 79.48 kB / 0.639 GB, free: 25.52 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009089/0.1296, allocations: 409.5 kB / 0.6394 GB, free: 25.12 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.1299, allocations: 291.9 kB / 0.6397 GB, free: 24.83 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.1299, allocations: 13.55 kB / 0.6397 GB, free: 24.82 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.13, allocations: 111.5 kB / 0.6398 GB, free: 24.71 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1302, allocations: 91.66 kB / 0.6399 GB, free: 24.62 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1302, allocations: 8 kB / 0.6399 GB, free: 24.61 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/0.1307, allocations: 347.2 kB / 0.6402 GB, free: 24.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.1308, allocations: 35.89 kB / 0.6403 GB, free: 24.24 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.1309, allocations: 75.66 kB / 0.6403 GB, free: 24.16 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.1313, allocations: 343.3 kB / 0.6407 GB, free: 23.83 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1313, allocations: 0 / 0.6407 GB, free: 23.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1313, allocations: 4 kB / 0.6407 GB, free: 23.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1313, allocations: 0 / 0.6407 GB, free: 23.82 MB / 442.7 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.0005763/0.1319, allocations: 499.4 kB / 0.6411 GB, free: 23.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1319, allocations: 12.03 kB / 0.6411 GB, free: 23.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.1321, allocations: 24.73 kB / 0.6412 GB, free: 23.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1323, allocations: 216 kB / 0.6414 GB, free: 23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1323, allocations: 8.703 kB / 0.6414 GB, free: 23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.1323, allocations: 20.36 kB / 0.6414 GB, free: 22.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.1326, allocations: 253 kB / 0.6416 GB, free: 22.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1326, allocations: 0 / 0.6416 GB, free: 22.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.1327, allocations: 4 kB / 0.6417 GB, free: 22.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.1327, allocations: 11.98 kB / 0.6417 GB, free: 22.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.133, allocations: 423.5 kB / 0.6421 GB, free: 22.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007825/0.1338, allocations: 1.004 MB / 0.643 GB, free: 21.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.1341, allocations: 163.9 kB / 0.6432 GB, free: 21.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.434e-05/0.1342, allocations: 60.84 kB / 0.6433 GB, free: 20.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000913/0.1351, allocations: 1.829 MB / 0.645 GB, free: 18.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1351, allocations: 34.56 kB / 0.6451 GB, free: 18.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.764e-06/0.1351, allocations: 4 kB / 0.6451 GB, free: 18.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002915/0.1354, allocations: 151.9 kB / 0.6452 GB, free: 18.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.1355, allocations: 55.34 kB / 0.6453 GB, free: 18.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.1356, allocations: 173.3 kB / 0.6454 GB, free: 18.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1356, allocations: 29.7 kB / 0.6455 GB, free: 18.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.1357, allocations: 135.8 kB / 0.6456 GB, free: 18.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1357, allocations: 59.27 kB / 0.6457 GB, free: 18.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.1357, allocations: 49.61 kB / 0.6457 GB, free: 18.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.1358, allocations: 330.8 kB / 0.646 GB, free: 17.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.1359, allocations: 35.98 kB / 0.6461 GB, free: 17.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.135e-05/0.136, allocations: 137.7 kB / 0.6462 GB, free: 17.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.1362, allocations: 198.9 kB / 0.6464 GB, free: 17.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1362, allocations: 0 / 0.6464 GB, free: 17.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000257/0.1364, allocations: 213.5 kB / 0.6466 GB, free: 17.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1365, allocations: 8 kB / 0.6466 GB, free: 17.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1365, allocations: 8.031 kB / 0.6466 GB, free: 17.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1365, allocations: 7.938 kB / 0.6466 GB, free: 17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1367, allocations: 59.84 kB / 0.6467 GB, free: 16.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1367, allocations: 7.984 kB / 0.6467 GB, free: 16.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/0.1368, allocations: 27.75 kB / 0.6467 GB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1368, allocations: 12 kB / 0.6467 GB, free: 16.9 MB / 442.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/0.1369, allocations: 137.7 kB / 0.6468 GB, free: 16.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1369, allocations: 11.91 kB / 0.6469 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.1372, allocations: 159.8 kB / 0.647 GB, free: 16.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.1372, allocations: 7.938 kB / 0.647 GB, free: 16.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1372, allocations: 0 / 0.647 GB, free: 16.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1372, allocations: 0 / 0.647 GB, free: 16.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.1374, allocations: 217.5 kB / 0.6472 GB, free: 16.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1374, allocations: 4 kB / 0.6472 GB, free: 16.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.1374, allocations: 23.98 kB / 0.6472 GB, free: 16.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1375, allocations: 0 / 0.6472 GB, free: 16.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1375, allocations: 4 kB / 0.6472 GB, free: 16.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1375, allocations: 7.938 kB / 0.6473 GB, free: 16.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1375, allocations: 4 kB / 0.6473 GB, free: 16.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.1378, allocations: 0.8043 MB / 0.648 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.1379, allocations: 112.8 kB / 0.6482 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.1379, allocations: 0 / 0.6482 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1381, allocations: 15.98 kB / 0.6482 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.1381, allocations: 11.98 kB / 0.6482 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1381, allocations: 8 kB / 0.6482 GB, free: 15.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.642e-05/0.1382, allocations: 124.9 kB / 0.6483 GB, free: 15.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1382, allocations: 0 / 0.6483 GB, free: 15.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.1386, allocations: 75.98 kB / 0.6484 GB, free: 15.05 MB / 442.7 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 (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.0003102/0.139, allocations: 179 kB / 0.6485 GB, free: 14.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1391, allocations: 112.6 kB / 0.6487 GB, free: 14.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1392, allocations: 0 / 0.6487 GB, free: 14.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.323e-05/0.1392, allocations: 47.97 kB / 0.6487 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.1396, allocations: 57.88 kB / 0.6488 GB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.1403, allocations: 0.5289 MB / 0.6493 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.1404, allocations: 0.7131 MB / 0.65 GB, free: 13.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.1405, allocations: 49.73 kB / 0.65 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.1406, allocations: 27.44 kB / 0.65 GB, free: 13.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.91e-07/0.1406, allocations: 0 / 0.65 GB, free: 13.27 MB / 442.7 MB Notification: Performance of Templates: time 0.005126/0.1457, allocations: 3.278 MB / 0.6532 GB, free: 10.03 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)