Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5") translateModel(IBPSA.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 116.9 kB / 17.08 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.341/1.341, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7138/0.7138, allocations: 115.3 MB / 407.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 65.06 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1532, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.001782/0.155, allocations: 0.5088 MB / 0.6332 GB, free: 3.891 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001911/0.1553, allocations: 43.81 kB / 0.6333 GB, free: 3.848 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.1553, allocations: 0 / 0.6333 GB, free: 3.848 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.1554, allocations: 0 / 0.6333 GB, free: 3.848 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1555, allocations: 11.94 kB / 0.6333 GB, free: 3.836 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.12e-05/0.1556, allocations: 11.92 kB / 0.6333 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.565e-05/0.1557, allocations: 15.86 kB / 0.6333 GB, free: 3.809 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.629e-05/0.1557, allocations: 8 kB / 0.6333 GB, free: 3.801 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.1558, allocations: 0 / 0.6333 GB, free: 3.801 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.1559, allocations: 11.98 kB / 0.6333 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1559, allocations: 0 / 0.6333 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.1559, allocations: 0 / 0.6333 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.156, allocations: 3.938 kB / 0.6333 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.156, allocations: 11.98 kB / 0.6333 GB, free: 3.773 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.317e-05/0.1561, allocations: 15.92 kB / 0.6333 GB, free: 3.758 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1561, allocations: 0 / 0.6333 GB, free: 3.758 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1561, allocations: 0 / 0.6333 GB, free: 3.758 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1561, allocations: 0 / 0.6333 GB, free: 3.758 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004578/0.1566, allocations: 335.4 kB / 0.6337 GB, free: 3.379 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1566, allocations: 8.031 kB / 0.6337 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.1567, allocations: 0.9375 kB / 0.6337 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.1569, allocations: 176.3 kB / 0.6338 GB, free: 3.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1569, allocations: 4.359 kB / 0.6338 GB, free: 3.156 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1569, allocations: 4.375 kB / 0.6338 GB, free: 3.152 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.238e-05/0.157, allocations: 34.2 kB / 0.6339 GB, free: 3.113 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.157, allocations: 192 / 0.6339 GB, free: 3.113 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.157, allocations: 3.938 kB / 0.6339 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.157, allocations: 0 / 0.6339 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.097e-05/0.1571, allocations: 7.984 kB / 0.6339 GB, free: 3.102 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.1572, allocations: 153.7 kB / 0.634 GB, free: 2.902 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.479e-05/0.1573, allocations: 18.92 kB / 0.6341 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.1573, allocations: 12.8 kB / 0.6341 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.1573, allocations: 4.062 kB / 0.6341 GB, free: 2.855 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1574, allocations: 38.5 kB / 0.6341 GB, free: 2.809 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1574, allocations: 0 / 0.6341 GB, free: 2.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.1575, allocations: 45.61 kB / 0.6342 GB, free: 2.758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.1576, allocations: 55.41 kB / 0.6342 GB, free: 2.691 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.1576, allocations: 110 kB / 0.6343 GB, free: 2.574 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1577, allocations: 29.7 kB / 0.6343 GB, free: 2.539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.1577, allocations: 88.14 kB / 0.6344 GB, free: 2.449 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.1577, allocations: 3.906 kB / 0.6344 GB, free: 2.445 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.1578, allocations: 9.719 kB / 0.6344 GB, free: 2.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1579, allocations: 326.8 kB / 0.6347 GB, free: 2.102 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.1579, allocations: 4 kB / 0.6348 GB, free: 2.098 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.1579, allocations: 13.72 kB / 0.6348 GB, free: 2.078 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.941e-05/0.158, allocations: 25.7 kB / 0.6348 GB, free: 2.047 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.158, allocations: 0 / 0.6348 GB, free: 2.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.033e-05/0.1581, allocations: 57.56 kB / 0.6348 GB, free: 1.984 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1581, allocations: 4 kB / 0.6348 GB, free: 1.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1581, allocations: 3.938 kB / 0.6349 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1581, allocations: 3.984 kB / 0.6349 GB, free: 1.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.1582, allocations: 4 kB / 0.6349 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1582, allocations: 4.062 kB / 0.6349 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.1583, allocations: 4 kB / 0.6349 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1583, allocations: 3.984 kB / 0.6349 GB, free: 1.957 MB / 478.1 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 (2): * Single equations (assignments): 2 * 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 7.504e-05/0.1583, allocations: 109.3 kB / 0.635 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.1584, allocations: 8 kB / 0.635 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1585, allocations: 49.09 kB / 0.635 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1585, allocations: 4 kB / 0.635 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1585, allocations: 0 / 0.635 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1585, allocations: 4.031 kB / 0.635 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.1586, allocations: 153.7 kB / 0.6352 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1586, allocations: 3.984 kB / 0.6352 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.1587, allocations: 4 kB / 0.6352 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1587, allocations: 0 / 0.6352 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1587, allocations: 3.938 kB / 0.6352 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1587, allocations: 0 / 0.6352 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1587, allocations: 3.938 kB / 0.6352 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.1588, allocations: 89.02 kB / 0.6353 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.1589, allocations: 77.11 kB / 0.6354 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1589, allocations: 7.969 kB / 0.6354 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.1589, allocations: 0 / 0.6354 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.159, allocations: 3.938 kB / 0.6354 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.159, allocations: 256 / 0.6354 GB, free: 1.344 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.012e-05/0.159, allocations: 95.27 kB / 0.6355 GB, free: 1.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.159, allocations: 0 / 0.6355 GB, free: 1.25 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001738/0.1592, allocations: 4 kB / 0.6355 GB, free: 1.246 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0001107/0.1593, allocations: 95.34 kB / 0.6356 GB, free: 1.145 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 9.331e-05/0.1594, allocations: 19.98 kB / 0.6356 GB, free: 1.125 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1594, allocations: 0 / 0.6356 GB, free: 1.125 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.55e-05/0.1595, allocations: 7.984 kB / 0.6356 GB, free: 1.117 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.1596, allocations: 5.812 kB / 0.6356 GB, free: 1.113 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.1599, allocations: 139.5 kB / 0.6357 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1601, allocations: 0.6848 MB / 0.6364 GB, free: 240 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.1602, allocations: 7.438 kB / 0.6364 GB, free: 232 kB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1602, allocations: 0 / 0.6364 GB, free: 232 kB / 478.1 MB Notification: Performance of Templates: time 0.001842/0.162, allocations: 0.5075 MB / 0.6369 GB, free: 15.72 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)