Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009625/0.0009626, allocations: 97.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009768/0.0009769, allocations: 179.7 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6648/0.6648, allocations: 113.8 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 8 kB / 493 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 77.16 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.003994/0.1293, allocations: 3.912 MB / 0.5607 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.1315, allocations: 2.167 MB / 0.5628 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.1316, allocations: 4 kB / 0.5628 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.1318, allocations: 39.73 kB / 0.5628 GB, free: 5.449 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.1319, allocations: 75.83 kB / 0.5629 GB, free: 5.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008375/0.1328, allocations: 430.2 kB / 0.5633 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.133, allocations: 156.7 kB / 0.5634 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.133, allocations: 13.55 kB / 0.5635 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.1332, allocations: 99.73 kB / 0.5636 GB, free: 4.695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1333, allocations: 71.69 kB / 0.5636 GB, free: 4.625 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1333, allocations: 8 kB / 0.5636 GB, free: 4.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005728/0.1339, allocations: 291.6 kB / 0.5639 GB, free: 4.332 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.1339, allocations: 39.83 kB / 0.5639 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.134, allocations: 61.58 kB / 0.564 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.1343, allocations: 215.8 kB / 0.5642 GB, free: 4.016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1343, allocations: 0 / 0.5642 GB, free: 4.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1343, allocations: 4 kB / 0.5642 GB, free: 4.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1343, allocations: 0 / 0.5642 GB, free: 4.012 MB / 430.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.0005798/0.1349, allocations: 467.1 kB / 0.5647 GB, free: 3.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.135, allocations: 16.02 kB / 0.5647 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.1351, allocations: 15.91 kB / 0.5647 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1353, allocations: 218.7 kB / 0.5649 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1353, allocations: 12.33 kB / 0.5649 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1354, allocations: 15.95 kB / 0.5649 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.1357, allocations: 244.7 kB / 0.5652 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1357, allocations: 0 / 0.5652 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.1357, allocations: 11.98 kB / 0.5652 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.1358, allocations: 4 kB / 0.5652 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/0.1362, allocations: 431.3 kB / 0.5656 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1373, allocations: 0.9878 MB / 0.5666 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.1376, allocations: 159.8 kB / 0.5667 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.1388, allocations: 1.841 MB / 0.5685 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1388, allocations: 42.56 kB / 0.5685 GB, free: 15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.1388, allocations: 0 / 0.5685 GB, free: 15 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002986/0.1391, allocations: 139.1 kB / 0.5687 GB, free: 14.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.1392, allocations: 59.34 kB / 0.5687 GB, free: 14.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1393, allocations: 169.6 kB / 0.5689 GB, free: 14.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.1394, allocations: 33.7 kB / 0.5689 GB, free: 14.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.1394, allocations: 135.7 kB / 0.5691 GB, free: 14.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.1395, allocations: 55.28 kB / 0.5691 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.1395, allocations: 11.94 kB / 0.5691 GB, free: 14.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1396, allocations: 330.8 kB / 0.5694 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/0.1397, allocations: 31.98 kB / 0.5695 GB, free: 14.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1398, allocations: 141.7 kB / 0.5696 GB, free: 13.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.909e-05/0.1399, allocations: 51.94 kB / 0.5696 GB, free: 13.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1399, allocations: 4 kB / 0.5697 GB, free: 13.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002939/0.1402, allocations: 214.5 kB / 0.5699 GB, free: 13.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1402, allocations: 8 kB / 0.5699 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1402, allocations: 7.938 kB / 0.5699 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1402, allocations: 4 kB / 0.5699 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.1404, allocations: 55.91 kB / 0.5699 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1405, allocations: 4 kB / 0.5699 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.1406, allocations: 31.69 kB / 0.57 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.1406, allocations: 19.98 kB / 0.57 GB, free: 13.43 MB / 446.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.606e-05/0.1407, allocations: 139.8 kB / 0.5701 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.1408, allocations: 15.81 kB / 0.5701 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.141, allocations: 152.8 kB / 0.5703 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.1411, allocations: 7.984 kB / 0.5703 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1411, allocations: 0 / 0.5703 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1411, allocations: 0 / 0.5703 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.1413, allocations: 225.4 kB / 0.5705 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1413, allocations: 0 / 0.5705 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.1414, allocations: 31.98 kB / 0.5705 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1415, allocations: 0 / 0.5705 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1415, allocations: 7.984 kB / 0.5705 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1415, allocations: 0 / 0.5705 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1415, allocations: 0 / 0.5705 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.1417, allocations: 223.2 kB / 0.5708 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.1418, allocations: 116.8 kB / 0.5709 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1418, allocations: 4 kB / 0.5709 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.1421, allocations: 23.98 kB / 0.5709 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.1421, allocations: 7.984 kB / 0.5709 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.1421, allocations: 15.98 kB / 0.5709 GB, free: 12.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.448e-05/0.1422, allocations: 113.8 kB / 0.571 GB, free: 12.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1422, allocations: 4 kB / 0.571 GB, free: 12.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003886/0.1426, allocations: 83.83 kB / 0.5711 GB, free: 12.18 MB / 446.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.0002435/0.1429, allocations: 171.8 kB / 0.5713 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.1431, allocations: 114.2 kB / 0.5714 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1431, allocations: 0.9375 kB / 0.5714 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.269e-05/0.1432, allocations: 47.84 kB / 0.5714 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1435, allocations: 61.94 kB / 0.5715 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.1441, allocations: 422.2 kB / 0.5719 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.1444, allocations: 0.7133 MB / 0.5726 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.1446, allocations: 49.88 kB / 0.5726 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.1446, allocations: 31.44 kB / 0.5727 GB, free: 10.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1446, allocations: 0 / 0.5727 GB, free: 10.54 MB / 446.1 MB Notification: Performance of Templates: time 0.006111/0.1507, allocations: 3.142 MB / 0.5757 GB, free: 7.445 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)