Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001387/0.001387, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001824/0.001824, allocations: 217.5 kB / 23.01 MB, free: 4.609 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8588/0.8588, allocations: 134 MB / 447.2 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: IDEAS 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.002242/0.002242, allocations: 65.64 kB / 0.6198 GB, free: 6.719 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2012, allocations: 85.91 MB / 0.7037 GB, free: 0.8789 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6423/0.8435, allocations: 198.1 MB / 0.8971 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01284/0.8563, allocations: 6.977 MB / 0.9039 GB, free: 9.305 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001786/0.8581, allocations: 63.44 kB / 0.904 GB, free: 9.242 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.8605, allocations: 0.7142 MB / 0.9047 GB, free: 8.523 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007067/0.8675, allocations: 2.474 MB / 0.9071 GB, free: 6.039 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004142/0.8717, allocations: 1.484 MB / 0.9086 GB, free: 4.578 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005653/0.8773, allocations: 3.045 MB / 0.9115 GB, free: 1.523 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.8793, allocations: 0.7159 MB / 0.9122 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003787/0.8831, allocations: 1.179 MB / 0.9134 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.8853, allocations: 0.8508 MB / 0.9142 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004456/0.8857, allocations: 104 kB / 0.9143 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005122/0.8909, allocations: 2.194 MB / 0.9165 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007692/0.8916, allocations: 386.7 kB / 0.9168 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.8931, allocations: 0.583 MB / 0.9174 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006157/0.8993, allocations: 2.437 MB / 0.9198 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.8993, allocations: 0 / 0.9198 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.826e-06/0.8993, allocations: 0 / 0.9198 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001008/0.8994, allocations: 0 / 0.9198 GB, free: 9.078 MB / 0.6856 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.005192/0.9046, allocations: 1.603 MB / 0.9213 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.9046, allocations: 12.03 kB / 0.9214 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/0.9079, allocations: 0.5377 MB / 0.9219 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.9108, allocations: 0.9741 MB / 0.9228 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/0.9109, allocations: 49.31 kB / 0.9229 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.9111, allocations: 72 kB / 0.9229 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/0.9141, allocations: 1.109 MB / 0.924 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.9141, allocations: 0 / 0.924 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.9142, allocations: 35.92 kB / 0.9241 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/0.9143, allocations: 29.3 kB / 0.9241 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.9175, allocations: 1.164 MB / 0.9252 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007171/0.9247, allocations: 3.121 MB / 0.9283 GB, free: 208 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.9266, allocations: 0.6567 MB / 0.9289 GB, free: 15.54 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008789/0.9275, allocations: 391.8 kB / 0.9293 GB, free: 15.16 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005513/0.928, allocations: 124.4 kB / 0.9294 GB, free: 15.04 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/0.9292, allocations: 0.5294 MB / 0.9299 GB, free: 14.48 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=57): time 3.237e-06/0.9292, allocations: 0 / 0.9299 GB, free: 14.48 MB / 0.7013 GB Notification: Performance of matching and sorting (n=57): time 0.003426/0.9326, allocations: 1.225 MB / 0.9311 GB, free: 13.24 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.9327, allocations: 144.9 kB / 0.9313 GB, free: 13.07 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/0.9351, allocations: 1.176 MB / 0.9324 GB, free: 11.88 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.9352, allocations: 37.7 kB / 0.9324 GB, free: 11.83 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/0.9357, allocations: 449.8 kB / 0.9329 GB, free: 11.39 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.936, allocations: 194.3 kB / 0.9331 GB, free: 11.2 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.9363, allocations: 150.2 kB / 0.9332 GB, free: 11.04 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.9365, allocations: 330 kB / 0.9335 GB, free: 10.71 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.9377, allocations: 441 kB / 0.9339 GB, free: 10.29 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.9392, allocations: 0.5902 MB / 0.9345 GB, free: 9.648 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.9414, allocations: 0.9293 MB / 0.9354 GB, free: 8.664 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.9414, allocations: 0 / 0.9354 GB, free: 8.664 MB / 0.7013 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003428/0.9448, allocations: 1.205 MB / 0.9366 GB, free: 7.445 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.9449, allocations: 33.7 kB / 0.9366 GB, free: 7.406 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.9449, allocations: 4 kB / 0.9366 GB, free: 7.402 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.9449, allocations: 11.94 kB / 0.9366 GB, free: 7.391 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009357/0.9458, allocations: 188 kB / 0.9368 GB, free: 7.207 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.9459, allocations: 11.98 kB / 0.9368 GB, free: 7.195 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.9475, allocations: 247.1 kB / 0.9371 GB, free: 6.953 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.9476, allocations: 35.97 kB / 0.9371 GB, free: 6.918 MB / 0.7013 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.0006961/0.9483, allocations: 320.4 kB / 0.9374 GB, free: 6.59 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003719/0.9487, allocations: 127.2 kB / 0.9375 GB, free: 6.465 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.9511, allocations: 1.003 MB / 0.9385 GB, free: 5.453 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.9511, allocations: 11.94 kB / 0.9385 GB, free: 5.441 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.9511, allocations: 0 / 0.9385 GB, free: 5.441 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.9511, allocations: 7.984 kB / 0.9385 GB, free: 5.434 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006085/0.9572, allocations: 3.142 MB / 0.9416 GB, free: 2.145 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/0.9572, allocations: 8 kB / 0.9416 GB, free: 2.137 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006348/0.9578, allocations: 124 kB / 0.9417 GB, free: 2.016 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/0.9579, allocations: 8 kB / 0.9417 GB, free: 2.008 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-05/0.9579, allocations: 27.98 kB / 0.9418 GB, free: 1.98 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.267e-05/0.9579, allocations: 11.94 kB / 0.9418 GB, free: 1.969 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.958, allocations: 11.94 kB / 0.9418 GB, free: 1.957 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.9605, allocations: 1.355 MB / 0.9431 GB, free: 500 kB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007615/0.9613, allocations: 254.9 kB / 0.9433 GB, free: 244 kB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/0.9616, allocations: 27.98 kB / 0.9434 GB, free: 216 kB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.9628, allocations: 99.91 kB / 0.9435 GB, free: 116 kB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.9629, allocations: 63.73 kB / 0.9435 GB, free: 52 kB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.963, allocations: 39.97 kB / 0.9436 GB, free: 12 kB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.001845/0.9648, allocations: 0.8444 MB / 0.9444 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9648, allocations: 4 kB / 0.9444 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001305/0.9662, allocations: 303.6 kB / 0.9447 GB, free: 14.86 MB / 0.7169 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.0007359/0.9669, allocations: 329.2 kB / 0.945 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002564/0.9695, allocations: 0.9743 MB / 0.946 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.9695, allocations: 0 / 0.946 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001/0.9705, allocations: 487.4 kB / 0.9464 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/0.9734, allocations: 0.5535 MB / 0.947 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.9778, allocations: 2.102 MB / 0.949 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009653/0.9787, allocations: 1.073 MB / 0.9501 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.9792, allocations: 91.39 kB / 0.9501 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of SimCode: time 8.01e-07/0.9792, allocations: 0 / 0.9501 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of Templates: time 0.03287/1.012, allocations: 18.86 MB / 0.9686 GB, free: 6.344 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.564131062943488] Failed to read output from testmodel.py, exit status != 0: 1.0216637069825083 1.0387116730000001 0.13556243699999995 Calling exit ...