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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 114.6 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 186.5 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8916/0.8916, allocations: 149.6 MB / 456.6 MB, free: 1.234 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001881/0.001881, allocations: 64.2 kB / 0.6329 GB, free: 8.973 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1689, allocations: 87.87 MB / 0.7187 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5464/0.7153, allocations: 195.2 MB / 0.9092 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.7263, allocations: 6.997 MB / 0.9161 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.7277, allocations: 63.44 kB / 0.9161 GB, free: 4.406 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.7296, allocations: 0.7025 MB / 0.9168 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006061/0.7357, allocations: 2.482 MB / 0.9193 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.7391, allocations: 1.502 MB / 0.9207 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004233/0.7433, allocations: 3.033 MB / 0.9237 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.7446, allocations: 0.706 MB / 0.9244 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/0.7484, allocations: 1.617 MB / 0.9259 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.7501, allocations: 0.8378 MB / 0.9268 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.7504, allocations: 100 kB / 0.9269 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.7544, allocations: 2.167 MB / 0.929 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005755/0.755, allocations: 382.6 kB / 0.9293 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009733/0.756, allocations: 0.5792 MB / 0.9299 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004424/0.7604, allocations: 2.41 MB / 0.9323 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7604, allocations: 0 / 0.9323 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7604, allocations: 0 / 0.9323 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.225e-05/0.7605, allocations: 0 / 0.9323 GB, free: 3.887 MB / 0.7012 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.004698/0.7652, allocations: 1.598 MB / 0.9338 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.7652, allocations: 12.62 kB / 0.9338 GB, free: 2.234 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/0.7682, allocations: 0.5338 MB / 0.9344 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.7708, allocations: 0.9715 MB / 0.9353 GB, free: 0.6992 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.7708, allocations: 53.31 kB / 0.9354 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.771, allocations: 72 kB / 0.9354 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.7736, allocations: 1.109 MB / 0.9365 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.7736, allocations: 0 / 0.9365 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.7737, allocations: 28 kB / 0.9365 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.7738, allocations: 33.31 kB / 0.9366 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/0.7768, allocations: 1.164 MB / 0.9377 GB, free: 14.21 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.006291/0.7831, allocations: 3.122 MB / 0.9408 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.7848, allocations: 0.645 MB / 0.9414 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007898/0.7856, allocations: 394.1 kB / 0.9418 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005044/0.7861, allocations: 128.3 kB / 0.9419 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.7872, allocations: 0.5177 MB / 0.9424 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=57): time 2.725e-06/0.7872, allocations: 0 / 0.9424 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=57): time 0.003151/0.7903, allocations: 1.241 MB / 0.9436 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/0.7904, allocations: 136.9 kB / 0.9437 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.7926, allocations: 1.172 MB / 0.9449 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.7927, allocations: 37.7 kB / 0.9449 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.7931, allocations: 453.7 kB / 0.9453 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.7933, allocations: 194.3 kB / 0.9455 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.7936, allocations: 138.2 kB / 0.9457 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.7937, allocations: 334 kB / 0.946 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.7949, allocations: 437 kB / 0.9464 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.7963, allocations: 0.6019 MB / 0.947 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.7983, allocations: 0.9257 MB / 0.9479 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.7983, allocations: 4 kB / 0.9479 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00303/0.8013, allocations: 1.201 MB / 0.9491 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.8013, allocations: 37.69 kB / 0.9491 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.8014, allocations: 4.281 kB / 0.9491 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.8014, allocations: 11.94 kB / 0.9491 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008962/0.8023, allocations: 187.7 kB / 0.9493 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.8023, allocations: 7.938 kB / 0.9493 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.8038, allocations: 252.5 kB / 0.9495 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.702e-05/0.8039, allocations: 39.97 kB / 0.9496 GB, free: 1.734 MB / 0.7169 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.0005557/0.8044, allocations: 319.4 kB / 0.9499 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.8047, allocations: 123.2 kB / 0.95 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/0.8069, allocations: 1.006 MB / 0.951 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.8069, allocations: 11.94 kB / 0.951 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.8069, allocations: 7.984 kB / 0.951 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.8069, allocations: 0 / 0.951 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00528/0.8122, allocations: 3.133 MB / 0.9541 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.8122, allocations: 4 kB / 0.9541 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.8128, allocations: 124.2 kB / 0.9542 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/0.8128, allocations: 12 kB / 0.9542 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.8129, allocations: 20 kB / 0.9542 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.981e-05/0.8129, allocations: 19.92 kB / 0.9542 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.8129, allocations: 8 kB / 0.9542 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.8152, allocations: 1.362 MB / 0.9556 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.8158, allocations: 258.9 kB / 0.9558 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.816, allocations: 23.98 kB / 0.9558 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.8171, allocations: 99.91 kB / 0.9559 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.8172, allocations: 71.53 kB / 0.956 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/0.8173, allocations: 39.97 kB / 0.956 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00153/0.8188, allocations: 0.8482 MB / 0.9569 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8188, allocations: 0 / 0.9569 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001089/0.8199, allocations: 303.6 kB / 0.9572 GB, free: 9.672 MB / 0.7325 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.0007706/0.8207, allocations: 351.6 kB / 0.9575 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002379/0.8231, allocations: 0.9725 MB / 0.9584 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.8231, allocations: 3.938 kB / 0.9585 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009615/0.824, allocations: 480.9 kB / 0.9589 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/0.8266, allocations: 0.5499 MB / 0.9594 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.8305, allocations: 2.062 MB / 0.9615 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000895/0.8314, allocations: 1.069 MB / 0.9625 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001106/0.8325, allocations: 273.5 kB / 0.9628 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.8328, allocations: 83.41 kB / 0.9628 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of SimCode: time 7.22e-07/0.8328, allocations: 0 / 0.9628 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of Templates: time 0.03812/0.8709, allocations: 22.69 MB / 0.985 GB, free: 13.18 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: 6.393484340049326] Failed to read output from testmodel.py, exit status != 0: 0.8794931340962648 0.892516051 0.129100865 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa9a359d7b0>