Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001275/0.001275, allocations: 75.22 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001437/0.001437, allocations: 170.1 kB / 23.22 MB, free: 4.887 MB / 14.72 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 1.369/1.369, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8878/0.8878, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5547 GB, free: 2.609 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.213e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.605 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5408/0.5408, allocations: 171.6 MB / 0.7223 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009001/0.5498, allocations: 6.518 MB / 0.7287 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.5513, allocations: 62.08 kB / 0.7287 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.553, allocations: 0.695 MB / 0.7294 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005607/0.5586, allocations: 2.461 MB / 0.7318 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.5615, allocations: 1.495 MB / 0.7333 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003067/0.5646, allocations: 2.908 MB / 0.7361 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000862/0.5655, allocations: 0.6562 MB / 0.7367 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.5685, allocations: 1.916 MB / 0.7386 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009559/0.5694, allocations: 0.7183 MB / 0.7393 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.5696, allocations: 100.6 kB / 0.7394 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.572, allocations: 1.679 MB / 0.741 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.5723, allocations: 390.6 kB / 0.7414 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.5727, allocations: 396.5 kB / 0.7418 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.575, allocations: 2.43 MB / 0.7442 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.575, allocations: 3.625 kB / 0.7442 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.575, allocations: 1.031 kB / 0.7442 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.092e-05/0.575, allocations: 0 / 0.7442 GB, free: 5.027 MB / 0.5919 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.002842/0.5779, allocations: 1.561 MB / 0.7457 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.5779, allocations: 10.28 kB / 0.7457 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.5807, allocations: 0.5357 MB / 0.7462 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.5825, allocations: 0.9415 MB / 0.7471 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.5826, allocations: 51.31 kB / 0.7472 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.5827, allocations: 67.69 kB / 0.7473 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.5849, allocations: 1.247 MB / 0.7485 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.5849, allocations: 0 / 0.7485 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.003e-05/0.585, allocations: 33.59 kB / 0.7485 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.5851, allocations: 30.16 kB / 0.7485 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/0.5877, allocations: 1.188 MB / 0.7497 GB, free: 3.547 MB / 0.5919 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.004615/0.5923, allocations: 2.693 MB / 0.7523 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.5939, allocations: 0.6774 MB / 0.753 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007263/0.5946, allocations: 424.3 kB / 0.7534 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005135/0.5952, allocations: 132.6 kB / 0.7535 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.5963, allocations: 0.6469 MB / 0.7542 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.705e-06/0.5963, allocations: 0 / 0.7542 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002914/0.5992, allocations: 1.269 MB / 0.7554 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.5992, allocations: 139 kB / 0.7555 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.6009, allocations: 0.8655 MB / 0.7564 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.601, allocations: 40.89 kB / 0.7564 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.6013, allocations: 451.7 kB / 0.7568 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.6015, allocations: 200.1 kB / 0.757 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003484/0.6019, allocations: 141.4 kB / 0.7572 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.216e-05/0.6019, allocations: 334.5 kB / 0.7575 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.6031, allocations: 472.2 kB / 0.7579 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.6046, allocations: 0.9828 MB / 0.7589 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.6064, allocations: 0.9383 MB / 0.7598 GB, free: 376 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.6064, allocations: 4 kB / 0.7598 GB, free: 372 kB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002799/0.6092, allocations: 1.215 MB / 0.761 GB, free: 0 / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.579e-05/0.6093, allocations: 41.7 kB / 0.761 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6093, allocations: 2.469 kB / 0.761 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.6093, allocations: 12.41 kB / 0.7611 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008897/0.6102, allocations: 183.3 kB / 0.7612 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.6102, allocations: 10.98 kB / 0.7612 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.6116, allocations: 209.6 kB / 0.7614 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.832e-05/0.6116, allocations: 42.98 kB / 0.7615 GB, free: 15.9 MB / 0.6075 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.0005292/0.6122, allocations: 329.7 kB / 0.7618 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.6123, allocations: 93.23 kB / 0.7619 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.6143, allocations: 1.004 MB / 0.7629 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.6143, allocations: 10.02 kB / 0.7629 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6143, allocations: 11.88 kB / 0.7629 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.6143, allocations: 6.219 kB / 0.7629 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004336/0.6187, allocations: 2.93 MB / 0.7658 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.6187, allocations: 12.41 kB / 0.7658 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.6192, allocations: 122.7 kB / 0.7659 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.6192, allocations: 10.5 kB / 0.7659 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.6193, allocations: 21.88 kB / 0.7659 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.6193, allocations: 15.97 kB / 0.7659 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.6193, allocations: 13.59 kB / 0.7659 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.6214, allocations: 1.337 MB / 0.7672 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/0.6218, allocations: 229 kB / 0.7675 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6219, allocations: 27.48 kB / 0.7675 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.6229, allocations: 101.3 kB / 0.7676 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.623, allocations: 62.38 kB / 0.7676 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.6231, allocations: 43 kB / 0.7677 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001079/0.6242, allocations: 0.6279 MB / 0.7683 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6242, allocations: 0 / 0.7683 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009548/0.6251, allocations: 325.5 kB / 0.7686 GB, free: 12.3 MB / 0.6075 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.0005583/0.6257, allocations: 345.5 kB / 0.7689 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.628, allocations: 1.032 MB / 0.7699 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.628, allocations: 2.594 kB / 0.77 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008889/0.6289, allocations: 0.5118 MB / 0.7705 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.6306, allocations: 337.1 kB / 0.7708 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.634, allocations: 1.992 MB / 0.7727 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.6344, allocations: 478.9 kB / 0.7732 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006828/0.6351, allocations: 234.4 kB / 0.7734 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.6353, allocations: 65.94 kB / 0.7735 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.6353, allocations: 0 / 0.7735 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of Templates: time 0.0279/0.6632, allocations: 17.06 MB / 0.7901 GB, free: 12.63 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.250312983989716] Failed to read output from testmodel.py, exit status != 0: 0.6728713735938072 0.6871216950000001 0.10894806700000001 Calling exit ...