Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001307/0.001307, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001493/0.001493, allocations: 172.8 kB / 22.46 MB, free: 5.352 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.446/1.446, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003239/0.003239, allocations: 236.1 kB / 259.4 MB, free: 488 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.127/1.127, allocations: 138.4 MB / 454.3 MB, free: 1.961 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.6468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.431e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002716/0.00274, allocations: 1.596 MB / 0.6484 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.004376, allocations: 0.9278 MB / 0.6493 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.004436, allocations: 0 / 0.6493 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.004476, allocations: 7.875 kB / 0.6493 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.004666, allocations: 23.78 kB / 0.6493 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.005089, allocations: 163.4 kB / 0.6494 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.005257, allocations: 83.53 kB / 0.6495 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.005351, allocations: 11.98 kB / 0.6495 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.005511, allocations: 47.89 kB / 0.6496 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.005594, allocations: 27.91 kB / 0.6496 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.005616, allocations: 8 kB / 0.6496 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.006044, allocations: 275.6 kB / 0.6499 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.006063, allocations: 7.938 kB / 0.6499 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.0061, allocations: 19.92 kB / 0.6499 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.00641, allocations: 191.5 kB / 0.6501 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006413, allocations: 4 kB / 0.6501 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006414, allocations: 0 / 0.6501 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.006418, allocations: 0 / 0.6501 GB, free: 1.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005962/0.007014, allocations: 341.6 kB / 0.6504 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.007053, allocations: 9.344 kB / 0.6504 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.007333, allocations: 32.86 kB / 0.6505 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.007597, allocations: 137.7 kB / 0.6506 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-06/0.007603, allocations: 384 / 0.6506 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.007622, allocations: 8.375 kB / 0.6506 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.007806, allocations: 62.16 kB / 0.6507 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.007814, allocations: 192 / 0.6507 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.007827, allocations: 4.375 kB / 0.6507 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.007833, allocations: 3.938 kB / 0.6507 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.007992, allocations: 39.97 kB / 0.6507 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.008429, allocations: 248.4 kB / 0.6509 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.008598, allocations: 50.5 kB / 0.651 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.008685, allocations: 28.95 kB / 0.651 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.008701, allocations: 4 kB / 0.651 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.008727, allocations: 34.5 kB / 0.6511 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.008729, allocations: 0 / 0.6511 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003965/0.009125, allocations: 113.6 kB / 0.6512 GB, free: 408 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.00917, allocations: 55.41 kB / 0.6512 GB, free: 340 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.009296, allocations: 132.6 kB / 0.6513 GB, free: 196 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.009315, allocations: 25.7 kB / 0.6514 GB, free: 164 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.009402, allocations: 100.1 kB / 0.6515 GB, free: 60 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.009422, allocations: 11.91 kB / 0.6515 GB, free: 48 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.00947, allocations: 25.64 kB / 0.6515 GB, free: 16 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2467/0.2561, allocations: 319.7 kB / 0.6518 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.2563, allocations: 19.81 kB / 0.6518 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.2564, allocations: 24.78 kB / 0.6518 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.2566, allocations: 51.66 kB / 0.6519 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2566, allocations: 0 / 0.6519 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002733/0.2568, allocations: 94.31 kB / 0.652 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2568, allocations: 7.875 kB / 0.652 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2569, allocations: 0.75 kB / 0.652 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.2569, allocations: 0.5625 kB / 0.652 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.257, allocations: 18.84 kB / 0.652 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.257, allocations: 4.312 kB / 0.652 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.2571, allocations: 8.828 kB / 0.652 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.2571, allocations: 5.438 kB / 0.652 GB, free: 56.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 6.364e-05/0.2572, allocations: 115.8 kB / 0.6521 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.2572, allocations: 11.2 kB / 0.6521 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.2575, allocations: 100.7 kB / 0.6522 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2575, allocations: 0 / 0.6522 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2575, allocations: 3.938 kB / 0.6522 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2575, allocations: 0.75 kB / 0.6522 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.2576, allocations: 123.1 kB / 0.6524 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2576, allocations: 0 / 0.6524 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.168e-05/0.2577, allocations: 14.95 kB / 0.6524 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2577, allocations: 6.938 kB / 0.6524 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2577, allocations: 2.797 kB / 0.6524 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2577, allocations: 0 / 0.6524 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2577, allocations: 0.6562 kB / 0.6524 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.2579, allocations: 197.8 kB / 0.6526 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.258, allocations: 11.53 kB / 0.6526 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.258, allocations: 0 / 0.6526 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.2581, allocations: 9 kB / 0.6526 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.2581, allocations: 4.203 kB / 0.6526 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.2581, allocations: 8.375 kB / 0.6526 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.2582, allocations: 107.6 kB / 0.6527 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2582, allocations: 0 / 0.6527 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002483/0.2584, allocations: 24.27 kB / 0.6527 GB, free: 56.09 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 (6): * Single equations (assignments): 6 * 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.0001545/0.2586, allocations: 112.2 kB / 0.6528 GB, free: 56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.2588, allocations: 54.39 kB / 0.6529 GB, free: 56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2588, allocations: 0.625 kB / 0.6529 GB, free: 56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.2588, allocations: 35.16 kB / 0.6529 GB, free: 56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2592, allocations: 6.656 kB / 0.6529 GB, free: 56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.2595, allocations: 184.2 kB / 0.6531 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.2596, allocations: 87.5 kB / 0.6532 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.2596, allocations: 3.5 kB / 0.6532 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.2597, allocations: 20.25 kB / 0.6532 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2597, allocations: 0 / 0.6532 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.00358/0.2632, allocations: 1.138 MB / 0.6543 GB, free: 55.76 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.856384761631489] Failed to read output from testmodel.py, exit status != 0: 0.2713145278394222 0.281228464 0.272279318 Calling exit ...