Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7075/0.7075, allocations: 128.7 MB / 144.5 MB, free: 1.375 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.001291/0.001291, allocations: 182.6 kB / 174.2 MB, free: 5.957 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.404/1.404, allocations: 205 MB / 408.9 MB, free: 9.719 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.0009521/0.0009518, allocations: 103.2 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009766/0.0009767, allocations: 51.33 kB / 0.558 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1238, allocations: 75.47 MB / 0.6317 GB, free: 33.09 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004618/0.1285, allocations: 4.054 MB / 0.6356 GB, free: 29 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001499/0.1287, allocations: 163.5 kB / 0.6358 GB, free: 28.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.619e-05/0.1287, allocations: 0 / 0.6358 GB, free: 28.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.808e-05/0.1288, allocations: 7.938 kB / 0.6358 GB, free: 28.83 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.117e-05/0.1289, allocations: 15.92 kB / 0.6358 GB, free: 28.81 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.1293, allocations: 64.45 kB / 0.6359 GB, free: 28.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.1293, allocations: 55.83 kB / 0.6359 GB, free: 28.7 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1294, allocations: 3.984 kB / 0.6359 GB, free: 28.69 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.1294, allocations: 8 kB / 0.6359 GB, free: 28.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.1295, allocations: 15.97 kB / 0.6359 GB, free: 28.67 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1295, allocations: 0 / 0.6359 GB, free: 28.67 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.1297, allocations: 71.8 kB / 0.636 GB, free: 28.6 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.1297, allocations: 15.91 kB / 0.636 GB, free: 28.58 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.1298, allocations: 8 kB / 0.636 GB, free: 28.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1299, allocations: 39.89 kB / 0.6361 GB, free: 28.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1299, allocations: 0 / 0.6361 GB, free: 28.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1299, allocations: 4 kB / 0.6361 GB, free: 28.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1299, allocations: 3.938 kB / 0.6361 GB, free: 28.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003227/0.1303, allocations: 339.8 kB / 0.6364 GB, free: 28.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1303, allocations: 11.97 kB / 0.6364 GB, free: 28.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.1303, allocations: 0.9375 kB / 0.6364 GB, free: 28.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.342e-05/0.1304, allocations: 176.4 kB / 0.6366 GB, free: 27.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.1305, allocations: 26.27 kB / 0.6366 GB, free: 27.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.1305, allocations: 384 / 0.6366 GB, free: 27.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1306, allocations: 45.62 kB / 0.6366 GB, free: 27.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1306, allocations: 3.938 kB / 0.6366 GB, free: 27.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1307, allocations: 0 / 0.6366 GB, free: 27.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.1307, allocations: 0 / 0.6366 GB, free: 27.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.808e-05/0.1307, allocations: 15.98 kB / 0.6367 GB, free: 27.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.1311, allocations: 341.9 kB / 0.637 GB, free: 27.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.224e-05/0.1311, allocations: 18.58 kB / 0.637 GB, free: 27.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.21e-05/0.1311, allocations: 4.859 kB / 0.637 GB, free: 27.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-05/0.1312, allocations: 85.16 kB / 0.6371 GB, free: 27.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.1312, allocations: 34.5 kB / 0.6371 GB, free: 27.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1312, allocations: 4 kB / 0.6371 GB, free: 27.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.000125/0.1313, allocations: 37.7 kB / 0.6372 GB, free: 27.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.1314, allocations: 51.41 kB / 0.6372 GB, free: 27.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.357e-05/0.1314, allocations: 101.8 kB / 0.6373 GB, free: 27.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.1314, allocations: 29.7 kB / 0.6373 GB, free: 26.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.1315, allocations: 87.98 kB / 0.6374 GB, free: 26.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/0.1315, allocations: 0 / 0.6374 GB, free: 26.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.1315, allocations: 13.72 kB / 0.6374 GB, free: 26.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.1316, allocations: 326.9 kB / 0.6377 GB, free: 26.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.1316, allocations: 4 kB / 0.6378 GB, free: 26.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.1316, allocations: 17.66 kB / 0.6378 GB, free: 26.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.1316, allocations: 17.72 kB / 0.6378 GB, free: 26.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1316, allocations: 0 / 0.6378 GB, free: 26.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.007e-05/0.1317, allocations: 53.62 kB / 0.6378 GB, free: 26.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1317, allocations: 9.312 kB / 0.6378 GB, free: 26.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1317, allocations: 4 kB / 0.6378 GB, free: 26.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1318, allocations: 0 / 0.6378 GB, free: 26.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.1318, allocations: 15.92 kB / 0.6379 GB, free: 26.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1318, allocations: 0 / 0.6379 GB, free: 26.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.1318, allocations: 7.844 kB / 0.6379 GB, free: 26.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.1319, allocations: 4 kB / 0.6379 GB, free: 26.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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 4.493e-05/0.1319, allocations: 109.8 kB / 0.638 GB, free: 26.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1319, allocations: 0 / 0.638 GB, free: 26.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.132, allocations: 128.9 kB / 0.6381 GB, free: 26.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.132, allocations: 176.3 kB / 0.6383 GB, free: 25.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/0.1321, allocations: 184.2 kB / 0.6384 GB, free: 25.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.1321, allocations: 176.3 kB / 0.6386 GB, free: 25.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.1322, allocations: 409.4 kB / 0.639 GB, free: 25.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.1323, allocations: 108.9 kB / 0.6391 GB, free: 25.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.1323, allocations: 101 kB / 0.6392 GB, free: 24.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.541e-05/0.1323, allocations: 184.2 kB / 0.6394 GB, free: 24.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.1323, allocations: 180.3 kB / 0.6396 GB, free: 24.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.179e-05/0.1324, allocations: 180.3 kB / 0.6397 GB, free: 24.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.243e-05/0.1324, allocations: 188.2 kB / 0.6399 GB, free: 24.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1326, allocations: 0.8415 MB / 0.6407 GB, free: 23.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.1326, allocations: 186 kB / 0.6409 GB, free: 23.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.1326, allocations: 180.3 kB / 0.6411 GB, free: 22.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.1327, allocations: 112.9 kB / 0.6412 GB, free: 22.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.1328, allocations: 184.2 kB / 0.6414 GB, free: 22.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1328, allocations: 105 kB / 0.6415 GB, free: 22.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.344e-05/0.1328, allocations: 79.28 kB / 0.6415 GB, free: 22.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1328, allocations: 0 / 0.6415 GB, free: 22.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003465/0.1332, allocations: 16 kB / 0.6416 GB, free: 22.38 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001833/0.1334, allocations: 202.5 kB / 0.6417 GB, free: 22.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.27e-05/0.1334, allocations: 11.94 kB / 0.6418 GB, free: 22.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1334, allocations: 0 / 0.6418 GB, free: 22.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.1334, allocations: 0 / 0.6418 GB, free: 22.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.1337, allocations: 0.5364 MB / 0.6423 GB, free: 21.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001922/0.1339, allocations: 187.4 kB / 0.6425 GB, free: 21.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.87e-05/0.134, allocations: 0.677 MB / 0.6431 GB, free: 20.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.008e-05/0.1341, allocations: 7.938 kB / 0.6431 GB, free: 20.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.1341, allocations: 11.44 kB / 0.6431 GB, free: 20.69 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1341, allocations: 0 / 0.6431 GB, free: 20.69 MB / 442.7 MB Notification: Performance of Templates: time 0.002162/0.1363, allocations: 0.5853 MB / 0.6437 GB, free: 20.11 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)