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.0008301/0.0008301, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0008289/0.0008289, allocations: 175.2 kB / 25.18 MB, free: 8.879 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.9431/0.9431, allocations: 177.1 MB / 205.6 MB, free: 5.02 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.769/1.769, allocations: 389.6 MB / 0.6364 GB, free: 12.21 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.533e-06/1.533e-06, allocations: 0 / 0.7755 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209e-05/1.363e-05, allocations: 3 kB / 0.7755 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1364/0.1364, allocations: 152.9 MB / 0.9248 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006631/0.143, allocations: 4.845 MB / 0.9296 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.1435, allocations: 59.44 kB / 0.9296 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007511/0.1442, allocations: 424.8 kB / 0.93 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.1458, allocations: 1.236 MB / 0.9312 GB, free: 6.176 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.1475, allocations: 1.443 MB / 0.9326 GB, free: 4.734 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002116/0.1497, allocations: 2.861 MB / 0.9354 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.1508, allocations: 0.791 MB / 0.9362 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.1522, allocations: 1.479 MB / 0.9376 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.1528, allocations: 0.6347 MB / 0.9383 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.1529, allocations: 96 kB / 0.9384 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008574/0.1538, allocations: 0.7406 MB / 0.9391 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.154, allocations: 398.6 kB / 0.9395 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.1543, allocations: 387 kB / 0.9398 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.1554, allocations: 1.363 MB / 0.9412 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1554, allocations: 0 / 0.9412 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1554, allocations: 0 / 0.9412 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.1554, allocations: 0 / 0.9412 GB, free: 12.06 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.00159/0.157, allocations: 1.422 MB / 0.9425 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.157, allocations: 9.344 kB / 0.9426 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.1581, allocations: 476.1 kB / 0.943 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.1588, allocations: 0.677 MB / 0.9437 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.1588, allocations: 57.44 kB / 0.9437 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.1589, allocations: 68 kB / 0.9438 GB, free: 9.297 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000837/0.1598, allocations: 0.7963 MB / 0.9446 GB, free: 8.438 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1598, allocations: 3.938 kB / 0.9446 GB, free: 8.434 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.1598, allocations: 28 kB / 0.9446 GB, free: 8.406 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.1598, allocations: 33.3 kB / 0.9446 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.1602, allocations: 313.6 kB / 0.9449 GB, free: 8.059 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.002111/0.1624, allocations: 1.932 MB / 0.9468 GB, free: 6.082 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.1628, allocations: 360.7 kB / 0.9472 GB, free: 5.711 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.163, allocations: 152.2 kB / 0.9473 GB, free: 5.555 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.1631, allocations: 40.47 kB / 0.9473 GB, free: 5.516 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003983/0.1635, allocations: 422 kB / 0.9477 GB, free: 5.047 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=57): time 1.663e-06/0.1635, allocations: 8 kB / 0.9477 GB, free: 5.039 MB / 0.9011 GB Notification: Performance of matching and sorting (n=57): time 0.0006474/0.1641, allocations: 482.4 kB / 0.9482 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.1642, allocations: 148.8 kB / 0.9484 GB, free: 4.363 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/0.1647, allocations: 0.6794 MB / 0.949 GB, free: 3.668 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.1647, allocations: 45.64 kB / 0.9491 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1649, allocations: 346.4 kB / 0.9494 GB, free: 3.273 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.935e-05/0.165, allocations: 194.2 kB / 0.9496 GB, free: 3.082 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.1652, allocations: 130.2 kB / 0.9497 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.1652, allocations: 329.9 kB / 0.95 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1654, allocations: 101.8 kB / 0.9501 GB, free: 2.516 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.1657, allocations: 0.5323 MB / 0.9506 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.166, allocations: 379.3 kB / 0.951 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.166, allocations: 0 / 0.951 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004469/0.1664, allocations: 422.2 kB / 0.9514 GB, free: 1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.1665, allocations: 37.69 kB / 0.9514 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1665, allocations: 4 kB / 0.9514 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1665, allocations: 8 kB / 0.9514 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.1669, allocations: 160.4 kB / 0.9516 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1669, allocations: 19.86 kB / 0.9516 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.1672, allocations: 139.5 kB / 0.9517 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.1673, allocations: 39.97 kB / 0.9518 GB, free: 0.5938 MB / 0.9011 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.0001859/0.1675, allocations: 190.2 kB / 0.952 GB, free: 400 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.1676, allocations: 75.92 kB / 0.952 GB, free: 324 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005382/0.1681, allocations: 467 kB / 0.9525 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.1681, allocations: 8 kB / 0.9525 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1681, allocations: 7.922 kB / 0.9525 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1681, allocations: 0 / 0.9525 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.1697, allocations: 1.651 MB / 0.9541 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.1697, allocations: 8 kB / 0.9541 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.1699, allocations: 116.5 kB / 0.9542 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1699, allocations: 12 kB / 0.9542 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.17, allocations: 27.98 kB / 0.9543 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.17, allocations: 8 kB / 0.9543 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.17, allocations: 11.94 kB / 0.9543 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/0.1707, allocations: 0.9274 MB / 0.9552 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.1709, allocations: 159.2 kB / 0.9553 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.171, allocations: 24 kB / 0.9554 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.1713, allocations: 63.94 kB / 0.9554 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.1714, allocations: 63.69 kB / 0.9555 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.1714, allocations: 35.97 kB / 0.9555 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002161/0.1716, allocations: 312.5 kB / 0.9558 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1716, allocations: 0 / 0.9558 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005023/0.1721, allocations: 299.4 kB / 0.9561 GB, free: 11.8 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.000281/0.1724, allocations: 200 kB / 0.9563 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004434/0.1728, allocations: 435.2 kB / 0.9567 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.1729, allocations: 15.94 kB / 0.9567 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.1731, allocations: 280.7 kB / 0.957 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008847/0.174, allocations: 362.9 kB / 0.9573 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.1758, allocations: 1.796 MB / 0.9591 GB, free: 8.539 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1761, allocations: 445.3 kB / 0.9595 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006869/0.1768, allocations: 339 kB / 0.9598 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.1768, allocations: 7.938 kB / 0.9599 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of Templates: time 0.01242/0.1892, allocations: 15.01 MB / 0.9745 GB, free: 8.816 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 > Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.058100423775613]