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.0014/0.0014, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001553/0.001553, allocations: 210.4 kB / 23.74 MB, free: 4.453 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.9967/0.9967, allocations: 149.9 MB / 463.8 MB, free: 10.38 MB / 366.1 MB " [Timeout remaining time 178] 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.002327/0.002327, allocations: 64.12 kB / 0.6423 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1935, allocations: 89.18 MB / 0.7294 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.616/0.8095, allocations: 171.9 MB / 0.8973 GB, free: 9.711 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01264/0.8221, allocations: 6.58 MB / 0.9037 GB, free: 3.121 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.8241, allocations: 67.38 kB / 0.9038 GB, free: 3.055 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.8264, allocations: 0.687 MB / 0.9044 GB, free: 2.363 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007248/0.8336, allocations: 2.408 MB / 0.9068 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004004/0.8376, allocations: 1.462 MB / 0.9082 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004958/0.8426, allocations: 3.013 MB / 0.9111 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.844, allocations: 0.7001 MB / 0.9118 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004624/0.8486, allocations: 1.627 MB / 0.9134 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.8506, allocations: 0.8073 MB / 0.9142 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000282/0.8509, allocations: 100 kB / 0.9143 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003982/0.8548, allocations: 1.656 MB / 0.9159 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006389/0.8555, allocations: 378.7 kB / 0.9163 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009057/0.8564, allocations: 477.7 kB / 0.9167 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005232/0.8616, allocations: 2.348 MB / 0.919 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.8616, allocations: 3.938 kB / 0.919 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8616, allocations: 0 / 0.919 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.973e-05/0.8616, allocations: 0 / 0.919 GB, free: 3.406 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.003918/0.8656, allocations: 1.588 MB / 0.9206 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.8656, allocations: 12.03 kB / 0.9206 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/0.8686, allocations: 0.5377 MB / 0.9211 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.8713, allocations: 0.9702 MB / 0.9221 GB, free: 232 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.518e-05/0.8714, allocations: 57.3 kB / 0.9221 GB, free: 172 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.8715, allocations: 68 kB / 0.9222 GB, free: 104 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.8743, allocations: 1.242 MB / 0.9234 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.8743, allocations: 0 / 0.9234 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.074e-05/0.8744, allocations: 31.98 kB / 0.9234 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/0.8744, allocations: 25.31 kB / 0.9235 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003269/0.8777, allocations: 1.197 MB / 0.9246 GB, free: 13.54 MB / 0.7012 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.006137/0.8838, allocations: 2.695 MB / 0.9273 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.8857, allocations: 0.6896 MB / 0.9279 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008696/0.8866, allocations: 417.5 kB / 0.9283 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005316/0.8871, allocations: 132.3 kB / 0.9285 GB, free: 9.539 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/0.8883, allocations: 0.6433 MB / 0.9291 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.585e-06/0.8883, allocations: 0 / 0.9291 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003319/0.8917, allocations: 1.264 MB / 0.9303 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.8918, allocations: 140.9 kB / 0.9305 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.8936, allocations: 0.8877 MB / 0.9313 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.8937, allocations: 41.7 kB / 0.9314 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004793/0.8942, allocations: 468.5 kB / 0.9318 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.8944, allocations: 194.3 kB / 0.932 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.8947, allocations: 146.2 kB / 0.9321 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.8949, allocations: 330 kB / 0.9324 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.8962, allocations: 470.7 kB / 0.9329 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.898, allocations: 0.9822 MB / 0.9339 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/0.9003, allocations: 0.9332 MB / 0.9348 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.9003, allocations: 7.938 kB / 0.9348 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003309/0.9036, allocations: 1.207 MB / 0.936 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/0.9036, allocations: 45.69 kB / 0.936 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.9037, allocations: 1.125 kB / 0.936 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.601e-05/0.9037, allocations: 8 kB / 0.936 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009456/0.9046, allocations: 187.8 kB / 0.9362 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.9047, allocations: 11.88 kB / 0.9362 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.9061, allocations: 207.5 kB / 0.9364 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.905e-05/0.9062, allocations: 43.97 kB / 0.9364 GB, free: 0.9961 MB / 0.7012 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.000585/0.9068, allocations: 327.3 kB / 0.9367 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.907, allocations: 95.39 kB / 0.9368 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.9093, allocations: 1.011 MB / 0.9378 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.9093, allocations: 4.516 kB / 0.9378 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.9093, allocations: 11.88 kB / 0.9378 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.9093, allocations: 3.984 kB / 0.9378 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00531/0.9146, allocations: 2.949 MB / 0.9407 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.9146, allocations: 4 kB / 0.9407 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/0.9152, allocations: 120 kB / 0.9408 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/0.9153, allocations: 16 kB / 0.9409 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.9153, allocations: 23.98 kB / 0.9409 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.9153, allocations: 12 kB / 0.9409 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.9153, allocations: 11.94 kB / 0.9409 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.9178, allocations: 1.367 MB / 0.9422 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000651/0.9185, allocations: 231 kB / 0.9425 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.9186, allocations: 20 kB / 0.9425 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.9197, allocations: 99.89 kB / 0.9426 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.9198, allocations: 67.69 kB / 0.9426 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.282e-05/0.9199, allocations: 39.97 kB / 0.9427 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001278/0.9212, allocations: 0.6395 MB / 0.9433 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9212, allocations: 0 / 0.9433 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001234/0.9224, allocations: 319.4 kB / 0.9436 GB, free: 9.359 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.0006554/0.9231, allocations: 341 kB / 0.9439 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002632/0.9257, allocations: 1.028 MB / 0.9449 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.9257, allocations: 4 kB / 0.9449 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.9268, allocations: 0.5141 MB / 0.9454 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.929, allocations: 386.1 kB / 0.9458 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.9332, allocations: 2.085 MB / 0.9478 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.9338, allocations: 481.6 kB / 0.9483 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.9341, allocations: 79.39 kB / 0.9484 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/0.9341, allocations: 4 kB / 0.9484 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of Templates: time 0.02737/0.9615, allocations: 16.78 MB / 0.9648 GB, free: 3.625 MB / 0.7325 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: 10.805447493679821] Failed to read output from testmodel.py, exit status != 0: 0.9735337421298027 0.986659342 0.12149389000000001 Calling exit ...