Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009247/0.0009247, allocations: 84.86 kB / 21.62 MB, free: 2.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 163.2 kB / 25.05 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9233/0.9233, allocations: 177.1 MB / 205.5 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.908/1.908, allocations: 389.6 MB / 0.6363 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0.875 kB / 0.7761 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.735e-05, allocations: 2.969 kB / 0.7761 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1332/0.1333, allocations: 152.9 MB / 0.9254 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.007102/0.1404, allocations: 4.846 MB / 0.9302 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.1418, allocations: 63.44 kB / 0.9302 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0009122/0.1427, allocations: 416.8 kB / 0.9306 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.145, allocations: 1.232 MB / 0.9318 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.1473, allocations: 1.461 MB / 0.9332 GB, free: 4.012 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.003073/0.1504, allocations: 2.849 MB / 0.936 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.1519, allocations: 0.7879 MB / 0.9368 GB, free: 396 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.1539, allocations: 1.488 MB / 0.9382 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007939/0.1547, allocations: 0.6269 MB / 0.9389 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.1548, allocations: 96 kB / 0.9389 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.1559, allocations: 0.7484 MB / 0.9397 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.1562, allocations: 386.7 kB / 0.94 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.1565, allocations: 387 kB / 0.9404 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.1582, allocations: 1.363 MB / 0.9417 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1582, allocations: 4 kB / 0.9418 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1582, allocations: 0 / 0.9418 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.1582, allocations: 0 / 0.9418 GB, free: 11.35 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001757/0.1599, allocations: 1.418 MB / 0.9431 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.16, allocations: 17.28 kB / 0.9432 GB, free: 9.883 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.1611, allocations: 476 kB / 0.9436 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007491/0.1618, allocations: 0.677 MB / 0.9443 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.1619, allocations: 57.44 kB / 0.9443 GB, free: 8.652 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.162, allocations: 71.98 kB / 0.9444 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009988/0.163, allocations: 0.7962 MB / 0.9452 GB, free: 7.723 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.163, allocations: 4 kB / 0.9452 GB, free: 7.719 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.163, allocations: 24 kB / 0.9452 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.1631, allocations: 33.3 kB / 0.9452 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.1635, allocations: 321.5 kB / 0.9455 GB, free: 7.34 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.1658, allocations: 1.932 MB / 0.9474 GB, free: 5.363 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.1663, allocations: 346.5 kB / 0.9478 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1665, allocations: 156.1 kB / 0.9479 GB, free: 4.844 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.1666, allocations: 48.47 kB / 0.9479 GB, free: 4.797 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.1669, allocations: 422 kB / 0.9483 GB, free: 4.328 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=57): time 2.875e-06/0.1669, allocations: 0 / 0.9483 GB, free: 4.328 MB / 0.9011 GB Notification: Performance of matching and sorting (n=57): time 0.0009643/0.1679, allocations: 494.4 kB / 0.9488 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.1679, allocations: 148.8 kB / 0.949 GB, free: 3.641 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.1685, allocations: 0.6716 MB / 0.9496 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.1685, allocations: 37.7 kB / 0.9497 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1687, allocations: 342.4 kB / 0.95 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.806e-05/0.1688, allocations: 206.2 kB / 0.9502 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1689, allocations: 130.1 kB / 0.9503 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.169, allocations: 337.9 kB / 0.9506 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1691, allocations: 105.8 kB / 0.9507 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.1694, allocations: 0.5206 MB / 0.9512 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.1698, allocations: 383.3 kB / 0.9516 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1698, allocations: 8 kB / 0.9516 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004793/0.1703, allocations: 426.3 kB / 0.952 GB, free: 276 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.1703, allocations: 37.69 kB / 0.952 GB, free: 232 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1703, allocations: 4 kB / 0.9521 GB, free: 228 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1703, allocations: 4 kB / 0.9521 GB, free: 224 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.1707, allocations: 163.8 kB / 0.9522 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.1707, allocations: 15.86 kB / 0.9522 GB, free: 44 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.1711, allocations: 143.5 kB / 0.9524 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.1712, allocations: 27.98 kB / 0.9524 GB, free: 15.88 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000198/0.1714, allocations: 186.2 kB / 0.9526 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/0.1715, allocations: 75.92 kB / 0.9526 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000538/0.172, allocations: 458.9 kB / 0.9531 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.172, allocations: 11.98 kB / 0.9531 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.172, allocations: 3.938 kB / 0.9531 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.172, allocations: 4 kB / 0.9531 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.1737, allocations: 1.663 MB / 0.9547 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.1737, allocations: 8 kB / 0.9547 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.174, allocations: 107.8 kB / 0.9548 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.174, allocations: 12 kB / 0.9548 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.1741, allocations: 20.39 kB / 0.9549 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.1741, allocations: 19.92 kB / 0.9549 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.1741, allocations: 12 kB / 0.9549 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009803/0.1751, allocations: 0.9118 MB / 0.9558 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.1753, allocations: 175.1 kB / 0.956 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.1753, allocations: 23.98 kB / 0.956 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.1757, allocations: 63.95 kB / 0.956 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.1758, allocations: 63.69 kB / 0.9561 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.1758, allocations: 35.97 kB / 0.9561 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000235/0.1761, allocations: 312.5 kB / 0.9564 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.21e-07/0.1761, allocations: 0 / 0.9564 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006199/0.1767, allocations: 299.4 kB / 0.9567 GB, free: 11.09 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0003083/0.177, allocations: 208 kB / 0.9569 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004924/0.1775, allocations: 443.2 kB / 0.9573 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.1775, allocations: 8 kB / 0.9573 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.1777, allocations: 277.4 kB / 0.9576 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009197/0.1786, allocations: 354.5 kB / 0.9579 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.1807, allocations: 1.74 MB / 0.9596 GB, free: 7.883 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.1808, allocations: 212.2 kB / 0.9598 GB, free: 7.656 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003969/0.1812, allocations: 152.1 kB / 0.96 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006096/0.1818, allocations: 331 kB / 0.9603 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of SimCode: time 8.41e-07/0.1818, allocations: 0 / 0.9603 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of Templates: time 0.01948/0.2013, allocations: 17.18 MB / 0.9771 GB, free: 6.355 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.3469791803509]