Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6963/0.6963, 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.001321/0.001321, allocations: 182.6 kB / 174.2 MB, free: 5.945 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.377/1.377, allocations: 205 MB / 408.9 MB, free: 9.754 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.001004/0.001004, allocations: 110 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001052, allocations: 52.19 kB / 0.558 GB, free: 97.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1427, allocations: 75.48 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004143/0.1468, allocations: 3.778 MB / 0.6354 GB, free: 29.26 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001354/0.147, allocations: 159.4 kB / 0.6355 GB, free: 29.1 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.586e-05/0.147, allocations: 4 kB / 0.6355 GB, free: 29.1 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.1471, allocations: 3.938 kB / 0.6355 GB, free: 29.09 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.049e-05/0.1472, allocations: 7.969 kB / 0.6355 GB, free: 29.09 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1475, allocations: 63.78 kB / 0.6356 GB, free: 29.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.1475, allocations: 55.83 kB / 0.6356 GB, free: 28.97 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.1476, allocations: 7.984 kB / 0.6356 GB, free: 28.96 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.163e-05/0.1476, allocations: 7.984 kB / 0.6357 GB, free: 28.95 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.1477, allocations: 11.94 kB / 0.6357 GB, free: 28.94 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1477, allocations: 0 / 0.6357 GB, free: 28.94 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004862/0.1482, allocations: 199.5 kB / 0.6359 GB, free: 28.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.1483, allocations: 15.98 kB / 0.6359 GB, free: 28.73 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.1483, allocations: 7.938 kB / 0.6359 GB, free: 28.72 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1484, allocations: 43.95 kB / 0.6359 GB, free: 28.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1485, allocations: 0 / 0.6359 GB, free: 28.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1485, allocations: 0 / 0.6359 GB, free: 28.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1485, allocations: 0 / 0.6359 GB, free: 28.68 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.0003968/0.1489, allocations: 331.8 kB / 0.6362 GB, free: 28.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1489, allocations: 11.97 kB / 0.6362 GB, free: 28.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.149, allocations: 8.844 kB / 0.6363 GB, free: 28.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.753e-05/0.1491, allocations: 168.3 kB / 0.6364 GB, free: 28.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-05/0.1491, allocations: 30.25 kB / 0.6364 GB, free: 28.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1492, allocations: 4.375 kB / 0.6364 GB, free: 28.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1493, allocations: 45.62 kB / 0.6365 GB, free: 28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1493, allocations: 0 / 0.6365 GB, free: 28 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1493, allocations: 3.984 kB / 0.6365 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.1494, allocations: 0 / 0.6365 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.099e-05/0.1494, allocations: 19.98 kB / 0.6365 GB, free: 27.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.1498, allocations: 334 kB / 0.6368 GB, free: 27.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.168e-05/0.1498, allocations: 22.52 kB / 0.6369 GB, free: 27.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.1498, allocations: 4.859 kB / 0.6369 GB, free: 27.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-05/0.1499, allocations: 81.17 kB / 0.6369 GB, free: 27.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.1499, allocations: 42.48 kB / 0.637 GB, free: 27.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.903e-06/0.1499, allocations: 4 kB / 0.637 GB, free: 27.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.1501, allocations: 37.64 kB / 0.637 GB, free: 27.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.1501, allocations: 51.41 kB / 0.6371 GB, free: 27.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.1502, allocations: 101.8 kB / 0.6372 GB, free: 27.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.1502, allocations: 25.7 kB / 0.6372 GB, free: 27.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.1502, allocations: 88.05 kB / 0.6373 GB, free: 27.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.1502, allocations: 3.938 kB / 0.6373 GB, free: 27.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.1502, allocations: 17.62 kB / 0.6373 GB, free: 27.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.1503, allocations: 318.9 kB / 0.6376 GB, free: 26.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.1503, allocations: 15.92 kB / 0.6376 GB, free: 26.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-05/0.1503, allocations: 13.72 kB / 0.6376 GB, free: 26.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/0.1504, allocations: 21.72 kB / 0.6376 GB, free: 26.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1504, allocations: 3.938 kB / 0.6376 GB, free: 26.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.699e-05/0.1504, allocations: 45.75 kB / 0.6377 GB, free: 26.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1505, allocations: 9.562 kB / 0.6377 GB, free: 26.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1505, allocations: 0 / 0.6377 GB, free: 26.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1505, allocations: 4 kB / 0.6377 GB, free: 26.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.09e-05/0.1505, allocations: 7.984 kB / 0.6377 GB, free: 26.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1505, allocations: 0 / 0.6377 GB, free: 26.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.1506, allocations: 3.938 kB / 0.6377 GB, free: 26.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1506, allocations: 4 kB / 0.6377 GB, free: 26.56 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.95e-05/0.1506, allocations: 109.8 kB / 0.6378 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1507, allocations: 4 kB / 0.6378 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.918e-05/0.1508, allocations: 122.4 kB / 0.6379 GB, free: 26.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.1508, allocations: 184.2 kB / 0.6381 GB, free: 26.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.1508, allocations: 176.3 kB / 0.6383 GB, free: 25.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/0.1508, allocations: 180.2 kB / 0.6385 GB, free: 25.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.151, allocations: 421.1 kB / 0.6389 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.151, allocations: 101 kB / 0.639 GB, free: 25.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.151, allocations: 104.9 kB / 0.6391 GB, free: 25.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.402e-05/0.151, allocations: 184.2 kB / 0.6392 GB, free: 24.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.1511, allocations: 180.3 kB / 0.6394 GB, free: 24.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.631e-05/0.1511, allocations: 184.2 kB / 0.6396 GB, free: 24.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.363e-05/0.1511, allocations: 184.3 kB / 0.6398 GB, free: 24.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.1513, allocations: 0.8452 MB / 0.6406 GB, free: 23.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.1514, allocations: 190 kB / 0.6408 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.1514, allocations: 180.3 kB / 0.6409 GB, free: 23.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/0.1515, allocations: 112.9 kB / 0.641 GB, free: 22.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.1515, allocations: 180.3 kB / 0.6412 GB, free: 22.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1516, allocations: 108.9 kB / 0.6413 GB, free: 22.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.499e-05/0.1516, allocations: 79.28 kB / 0.6414 GB, free: 22.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1516, allocations: 0 / 0.6414 GB, free: 22.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003094/0.1519, allocations: 12 kB / 0.6414 GB, free: 22.52 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.0002277/0.1521, allocations: 206.4 kB / 0.6416 GB, free: 22.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.316e-05/0.1522, allocations: 8 kB / 0.6416 GB, free: 22.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1522, allocations: 0 / 0.6416 GB, free: 22.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.1522, allocations: 7.938 kB / 0.6416 GB, free: 22.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1525, allocations: 0.5264 MB / 0.6421 GB, free: 21.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.1527, allocations: 175.7 kB / 0.6423 GB, free: 21.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.1529, allocations: 0.6809 MB / 0.643 GB, free: 20.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.744e-05/0.1529, allocations: 10.38 kB / 0.643 GB, free: 20.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.1529, allocations: 7.438 kB / 0.643 GB, free: 20.85 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1529, allocations: 3.938 kB / 0.643 GB, free: 20.84 MB / 442.7 MB Notification: Performance of Templates: time 0.002308/0.1552, allocations: 0.5915 MB / 0.6436 GB, free: 20.27 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)