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.001332/0.001332, allocations: 105 kB / 20.45 MB, free: 1.5 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.001477/0.001477, allocations: 216.8 kB / 23.76 MB, free: 4.711 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.9407/0.9407, allocations: 150 MB / 463.9 MB, free: 10.93 MB / 366.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 63.25 kB / 0.6425 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1833, allocations: 89.17 MB / 0.7296 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6097/0.793, allocations: 198.1 MB / 0.9231 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.8056, allocations: 6.987 MB / 0.9299 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.8075, allocations: 67.38 kB / 0.93 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.8098, allocations: 0.7025 MB / 0.9307 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.007106/0.8169, allocations: 2.48 MB / 0.9331 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.821, allocations: 1.501 MB / 0.9345 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005142/0.8262, allocations: 3.031 MB / 0.9375 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.828, allocations: 0.7093 MB / 0.9382 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004621/0.8326, allocations: 1.625 MB / 0.9398 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.8347, allocations: 0.8412 MB / 0.9406 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003874/0.8351, allocations: 96 kB / 0.9407 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00491/0.84, allocations: 2.175 MB / 0.9428 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006715/0.8407, allocations: 374.7 kB / 0.9432 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.842, allocations: 0.5869 MB / 0.9438 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005563/0.8476, allocations: 2.414 MB / 0.9461 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8476, allocations: 0 / 0.9461 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.173e-06/0.8476, allocations: 0 / 0.9461 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.365e-05/0.8476, allocations: 0 / 0.9461 GB, free: 9.492 MB / 0.7169 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.004812/0.8524, allocations: 1.588 MB / 0.9477 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.8525, allocations: 12.03 kB / 0.9477 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.8555, allocations: 0.5455 MB / 0.9482 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/0.8582, allocations: 0.9624 MB / 0.9491 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.895e-05/0.8583, allocations: 57.31 kB / 0.9492 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.8585, allocations: 68 kB / 0.9493 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.8611, allocations: 1.109 MB / 0.9503 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.8611, allocations: 3.875 kB / 0.9503 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/0.8612, allocations: 28 kB / 0.9504 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/0.8613, allocations: 29.31 kB / 0.9504 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/0.8644, allocations: 1.164 MB / 0.9515 GB, free: 3.828 MB / 0.7169 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.006808/0.8713, allocations: 3.118 MB / 0.9546 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.873, allocations: 0.6529 MB / 0.9552 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009421/0.874, allocations: 398.8 kB / 0.9556 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005343/0.8745, allocations: 128.2 kB / 0.9557 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.8756, allocations: 0.5139 MB / 0.9562 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 3.506e-06/0.8756, allocations: 0 / 0.9562 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.00332/0.8789, allocations: 1.229 MB / 0.9574 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.8791, allocations: 144.8 kB / 0.9576 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.8814, allocations: 1.176 MB / 0.9587 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.8815, allocations: 37.7 kB / 0.9588 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/0.882, allocations: 449.8 kB / 0.9592 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.8822, allocations: 194.3 kB / 0.9594 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/0.8825, allocations: 146.2 kB / 0.9595 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002992/0.8828, allocations: 330 kB / 0.9598 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.8841, allocations: 437 kB / 0.9602 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.8856, allocations: 0.5902 MB / 0.9608 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.8877, allocations: 0.9254 MB / 0.9617 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.8877, allocations: 4 kB / 0.9617 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003342/0.891, allocations: 1.204 MB / 0.9629 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.8911, allocations: 43.72 kB / 0.9629 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.8911, allocations: 4 kB / 0.9629 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.8911, allocations: 7.938 kB / 0.9629 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009727/0.8921, allocations: 195.9 kB / 0.9631 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.8921, allocations: 7.938 kB / 0.9631 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.8937, allocations: 243.1 kB / 0.9634 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.8938, allocations: 37 kB / 0.9634 GB, free: 7.363 MB / 0.7325 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.000589/0.8944, allocations: 327.3 kB / 0.9637 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.8947, allocations: 123.2 kB / 0.9638 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.897, allocations: 0.9981 MB / 0.9648 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.897, allocations: 11.94 kB / 0.9648 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.897, allocations: 0 / 0.9648 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.897, allocations: 3.984 kB / 0.9648 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005678/0.9027, allocations: 3.154 MB / 0.9679 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/0.9027, allocations: 8 kB / 0.9679 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.9033, allocations: 120 kB / 0.968 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.515e-05/0.9034, allocations: 12 kB / 0.968 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.9034, allocations: 23.98 kB / 0.9681 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.786e-05/0.9034, allocations: 19.92 kB / 0.9681 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.9034, allocations: 12.81 kB / 0.9681 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.9059, allocations: 1.347 MB / 0.9694 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006826/0.9065, allocations: 262.9 kB / 0.9697 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.9067, allocations: 20 kB / 0.9697 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.9079, allocations: 103.9 kB / 0.9698 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.908, allocations: 59.75 kB / 0.9698 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.9081, allocations: 43.91 kB / 0.9699 GB, free: 456 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001621/0.9097, allocations: 0.852 MB / 0.9707 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9097, allocations: 0 / 0.9707 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001115/0.9108, allocations: 299.7 kB / 0.971 GB, free: 15.29 MB / 0.7481 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.0006865/0.9115, allocations: 327.4 kB / 0.9713 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002473/0.914, allocations: 0.9665 MB / 0.9723 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.914, allocations: 4 kB / 0.9723 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009696/0.915, allocations: 488.1 kB / 0.9727 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.9176, allocations: 0.5575 MB / 0.9733 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.9218, allocations: 2.122 MB / 0.9753 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00086/0.9227, allocations: 1.061 MB / 0.9764 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.9231, allocations: 91.41 kB / 0.9765 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/0.9231, allocations: 0 / 0.9765 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of Templates: time 0.03114/0.9542, allocations: 18.85 MB / 0.9949 GB, free: 6.816 MB / 0.7637 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: 11.555884897010401] Failed to read output from testmodel.py, exit status != 0: 0.9636232550255954 0.978749885 0.127702805 Calling exit ...