Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.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.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7317/0.7317, allocations: 128.7 MB / 144.5 MB, free: 1.367 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.001219/0.001219, allocations: 192.4 kB / 174.2 MB, free: 5.914 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.418/1.418, allocations: 205 MB / 408.9 MB, free: 9.711 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.0009727/0.0009726, allocations: 93.17 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 52.8 kB / 0.558 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1171, allocations: 75.48 MB / 0.6317 GB, free: 32.99 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.01128/0.1285, allocations: 15.21 MB / 0.6465 GB, free: 17.71 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1305, allocations: 2.147 MB / 0.6486 GB, free: 15.55 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.1308, allocations: 7.938 kB / 0.6486 GB, free: 15.55 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.1313, allocations: 155.2 kB / 0.6488 GB, free: 15.39 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005481/0.1319, allocations: 306.5 kB / 0.6491 GB, free: 15.09 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.1326, allocations: 282.7 kB / 0.6494 GB, free: 14.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000908/0.1335, allocations: 1.266 MB / 0.6506 GB, free: 13.55 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.1337, allocations: 83.53 kB / 0.6507 GB, free: 13.47 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007892/0.1344, allocations: 438.2 kB / 0.6511 GB, free: 13.04 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.1348, allocations: 286.8 kB / 0.6514 GB, free: 12.76 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.1349, allocations: 12 kB / 0.6514 GB, free: 12.75 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.1352, allocations: 115.8 kB / 0.6515 GB, free: 12.64 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.645e-05/0.1353, allocations: 67.8 kB / 0.6515 GB, free: 12.57 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.1354, allocations: 171.2 kB / 0.6517 GB, free: 12.4 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.1358, allocations: 454.9 kB / 0.6521 GB, free: 11.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1359, allocations: 0 / 0.6521 GB, free: 11.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1359, allocations: 0 / 0.6521 GB, free: 11.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1359, allocations: 4 kB / 0.6521 GB, free: 11.95 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007114/0.1366, allocations: 0.5731 MB / 0.6527 GB, free: 11.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1366, allocations: 8.031 kB / 0.6527 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005926/0.1372, allocations: 76.5 kB / 0.6528 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.1375, allocations: 279.7 kB / 0.6531 GB, free: 10.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1376, allocations: 24.94 kB / 0.6531 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.1376, allocations: 24.38 kB / 0.6531 GB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.1381, allocations: 350.3 kB / 0.6534 GB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1381, allocations: 0 / 0.6534 GB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.1382, allocations: 12 kB / 0.6534 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.1382, allocations: 8 kB / 0.6535 GB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.1386, allocations: 225.5 kB / 0.6537 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.1401, allocations: 1.69 MB / 0.6553 GB, free: 8.453 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.1404, allocations: 199.7 kB / 0.6555 GB, free: 8.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.1405, allocations: 88.81 kB / 0.6556 GB, free: 8.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.1406, allocations: 4 kB / 0.6556 GB, free: 8.156 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.1406, allocations: 34.56 kB / 0.6556 GB, free: 8.113 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.1406, allocations: 0 / 0.6556 GB, free: 8.113 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.003356/0.144, allocations: 1.248 MB / 0.6569 GB, free: 6.773 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.144, allocations: 63.34 kB / 0.6569 GB, free: 6.699 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.1443, allocations: 270.5 kB / 0.6572 GB, free: 6.426 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1443, allocations: 33.7 kB / 0.6572 GB, free: 6.387 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.1444, allocations: 176.2 kB / 0.6574 GB, free: 6.211 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.1445, allocations: 94.56 kB / 0.6575 GB, free: 6.117 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/0.1446, allocations: 69.62 kB / 0.6575 GB, free: 6.043 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.1446, allocations: 338.8 kB / 0.6579 GB, free: 5.703 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.1449, allocations: 104 kB / 0.658 GB, free: 5.602 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.1451, allocations: 185.1 kB / 0.6581 GB, free: 5.387 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.1456, allocations: 297.3 kB / 0.6584 GB, free: 5.062 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1456, allocations: 0 / 0.6584 GB, free: 5.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009539/0.1465, allocations: 449.7 kB / 0.6588 GB, free: 4.613 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1466, allocations: 4 kB / 0.6588 GB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1466, allocations: 4.312 kB / 0.6588 GB, free: 4.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004884/0.1471, allocations: 128.8 kB / 0.659 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.1474, allocations: 71.83 kB / 0.659 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.1497, allocations: 2.031 MB / 0.661 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.1501, allocations: 32.16 kB / 0.6611 GB, free: 2.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.1502, allocations: 12 kB / 0.6611 GB, free: 2.203 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.1503, allocations: 161.7 kB / 0.6612 GB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.1504, allocations: 39.56 kB / 0.6613 GB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.377e-05/0.1505, allocations: 30.86 kB / 0.6613 GB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1505, allocations: 7.984 kB / 0.6613 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1505, allocations: 0 / 0.6613 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008202/0.1513, allocations: 0.6409 MB / 0.6619 GB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.1526, allocations: 0.8066 MB / 0.6627 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1526, allocations: 0 / 0.6627 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1528, allocations: 39.91 kB / 0.6627 GB, free: 312 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006153/0.1534, allocations: 132.8 kB / 0.6629 GB, free: 176 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.1534, allocations: 11.98 kB / 0.6629 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/0.1564, allocations: 1.948 MB / 0.6648 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1564, allocations: 0 / 0.6648 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009102/0.1655, allocations: 4.936 MB / 0.6696 GB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.1656, allocations: 96.81 kB / 0.6697 GB, free: 8.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.1657, allocations: 11.94 kB / 0.6697 GB, free: 8.719 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.166, allocations: 24.02 kB / 0.6697 GB, free: 8.695 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.1661, allocations: 28.09 kB / 0.6698 GB, free: 8.668 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.1661, allocations: 11.98 kB / 0.6698 GB, free: 8.656 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002386/0.1664, allocations: 197.9 kB / 0.67 GB, free: 8.465 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1664, allocations: 0 / 0.67 GB, free: 8.465 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007341/0.1671, allocations: 160 kB / 0.6701 GB, free: 8.309 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000194/0.1673, allocations: 123.5 kB / 0.6702 GB, free: 8.176 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008701/0.1682, allocations: 418.6 kB / 0.6706 GB, free: 7.754 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1682, allocations: 0 / 0.6706 GB, free: 7.754 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006504/0.1689, allocations: 291.3 kB / 0.6709 GB, free: 7.457 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009827/0.1699, allocations: 165.4 kB / 0.6711 GB, free: 7.297 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.1718, allocations: 1.161 MB / 0.6722 GB, free: 6.074 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1722, allocations: 0.7762 MB / 0.673 GB, free: 5.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.1725, allocations: 50.95 kB / 0.673 GB, free: 5.223 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.1726, allocations: 31.44 kB / 0.673 GB, free: 5.191 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1726, allocations: 0 / 0.673 GB, free: 5.191 MB / 458.7 MB Notification: Performance of Templates: time 0.01315/0.1857, allocations: 8.117 MB / 0.681 GB, free: 13.18 MB / 474.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1)