Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001362/0.001362, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001503/0.001503, allocations: 209 kB / 22.99 MB, free: 4.977 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 1.001/1.001, allocations: 149.9 MB / 463 MB, free: 10.33 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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [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.002215/0.002215, allocations: 80.14 kB / 0.6416 GB, free: 9.602 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2176, allocations: 89.16 MB / 0.7286 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.008087/0.2257, allocations: 4.382 MB / 0.7329 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.2271, allocations: 0.7555 MB / 0.7337 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.66e-05/0.2272, allocations: 0 / 0.7337 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.2275, allocations: 31.78 kB / 0.7337 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.2275, allocations: 31.7 kB / 0.7337 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006649/0.2282, allocations: 175.4 kB / 0.7339 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.2284, allocations: 175.4 kB / 0.734 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2285, allocations: 9.312 kB / 0.7341 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.2288, allocations: 87.62 kB / 0.7341 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.2289, allocations: 71.72 kB / 0.7342 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.2289, allocations: 12 kB / 0.7342 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.2293, allocations: 135.8 kB / 0.7344 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.2293, allocations: 31.91 kB / 0.7344 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.996e-05/0.2294, allocations: 59.7 kB / 0.7344 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.2299, allocations: 247.2 kB / 0.7347 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2299, allocations: 0 / 0.7347 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2299, allocations: 0 / 0.7347 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2299, allocations: 3.938 kB / 0.7347 GB, free: 10.29 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009788/0.2309, allocations: 405.4 kB / 0.7351 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.2309, allocations: 16.03 kB / 0.7351 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.231, allocations: 16.83 kB / 0.7351 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.2312, allocations: 118.4 kB / 0.7352 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.2312, allocations: 16.12 kB / 0.7352 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.2312, allocations: 8 kB / 0.7352 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.2316, allocations: 127.5 kB / 0.7354 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2316, allocations: 0 / 0.7354 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.2316, allocations: 3.938 kB / 0.7354 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2316, allocations: 4 kB / 0.7354 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/0.2321, allocations: 139.9 kB / 0.7355 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.2331, allocations: 392.2 kB / 0.7359 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.2335, allocations: 106.5 kB / 0.736 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.2337, allocations: 64.81 kB / 0.736 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/0.2349, allocations: 479.9 kB / 0.7365 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.235, allocations: 42.55 kB / 0.7365 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.235, allocations: 0 / 0.7365 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0007616/0.2357, allocations: 214.6 kB / 0.7367 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.2358, allocations: 55.41 kB / 0.7368 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.236, allocations: 168.1 kB / 0.7369 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.236, allocations: 25.7 kB / 0.737 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.2362, allocations: 116.4 kB / 0.7371 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.2362, allocations: 43.69 kB / 0.7371 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.934e-05/0.2363, allocations: 53.59 kB / 0.7372 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2365, allocations: 322.8 kB / 0.7375 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.2367, allocations: 75.94 kB / 0.7376 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.237, allocations: 106.7 kB / 0.7377 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.2375, allocations: 174.8 kB / 0.7378 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2375, allocations: 0 / 0.7378 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006247/0.2381, allocations: 241.3 kB / 0.7381 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.2381, allocations: 12.03 kB / 0.7381 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2382, allocations: 4 kB / 0.7381 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2382, allocations: 0 / 0.7381 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.2385, allocations: 55.89 kB / 0.7381 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2385, allocations: 4 kB / 0.7381 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.2386, allocations: 31.83 kB / 0.7382 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.2387, allocations: 11.98 kB / 0.7382 GB, free: 6.504 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001382/0.2388, allocations: 129.7 kB / 0.7383 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2389, allocations: 19.84 kB / 0.7383 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005102/0.2394, allocations: 175.9 kB / 0.7385 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2394, allocations: 0 / 0.7385 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2394, allocations: 0 / 0.7385 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.2394, allocations: 3.984 kB / 0.7385 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.2396, allocations: 145.3 kB / 0.7386 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2396, allocations: 0 / 0.7386 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.2398, allocations: 35.91 kB / 0.7387 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2398, allocations: 4 kB / 0.7387 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.2398, allocations: 7.938 kB / 0.7387 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2398, allocations: 0 / 0.7387 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2398, allocations: 0 / 0.7387 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.2403, allocations: 265.9 kB / 0.7389 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.2403, allocations: 23.83 kB / 0.7389 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.2404, allocations: 7.938 kB / 0.739 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.2405, allocations: 19.97 kB / 0.739 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.2406, allocations: 11.92 kB / 0.739 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.2406, allocations: 4 kB / 0.739 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001245/0.2407, allocations: 119.9 kB / 0.7391 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2407, allocations: 0 / 0.7391 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003646/0.2411, allocations: 59.88 kB / 0.7392 GB, free: 5.434 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003227/0.2414, allocations: 151.1 kB / 0.7393 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005441/0.2419, allocations: 167.9 kB / 0.7395 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2419, allocations: 4 kB / 0.7395 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.2421, allocations: 67.83 kB / 0.7395 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.2425, allocations: 19.98 kB / 0.7395 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.2431, allocations: 253.8 kB / 0.7398 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.2432, allocations: 93.48 kB / 0.7399 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.2433, allocations: 24.84 kB / 0.7399 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.2434, allocations: 19.44 kB / 0.7399 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.2434, allocations: 0 / 0.7399 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of Templates: time 0.007671/0.2511, allocations: 2.939 MB / 0.7428 GB, free: 1.715 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.963988268747926] Failed to read output from testmodel.py, exit status != 0: 0.2613278292119503 0.27813952000000003 0.044701544 Calling exit ...