Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.0009591/0.0009591, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0009201/0.0009201, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8531/0.8531, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.001363/0.001363, allocations: 231.8 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6754/0.6754, allocations: 138.4 MB / 455.1 MB, free: 30.08 MB / 410.7 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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.6475 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.249e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001125/0.001147, allocations: 0.543 MB / 0.648 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000165/0.001312, allocations: 35.81 kB / 0.6481 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.001373, allocations: 0 / 0.6481 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.001407, allocations: 0 / 0.6481 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.001603, allocations: 7.938 kB / 0.6481 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 6.545e-05/0.001668, allocations: 7.938 kB / 0.6481 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.001747, allocations: 11.92 kB / 0.6481 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.001788, allocations: 4 kB / 0.6481 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.055e-05/0.001849, allocations: 8 kB / 0.6481 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.001928, allocations: 15.97 kB / 0.6481 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.001951, allocations: 0 / 0.6481 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-06/0.00196, allocations: 0 / 0.6481 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/0.002032, allocations: 7.938 kB / 0.6481 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.002057, allocations: 0 / 0.6481 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 6.978e-05/0.002127, allocations: 7.984 kB / 0.6481 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002129, allocations: 0 / 0.6481 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.763e-06/0.002131, allocations: 0 / 0.6481 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.002138, allocations: 0 / 0.6481 GB, free: 0.75 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003743/0.002512, allocations: 262.3 kB / 0.6484 GB, free: 472 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.002557, allocations: 13.94 kB / 0.6484 GB, free: 460 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.002595, allocations: 0.9375 kB / 0.6484 GB, free: 460 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.002753, allocations: 117.8 kB / 0.6485 GB, free: 316 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.002762, allocations: 384 / 0.6485 GB, free: 316 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.002782, allocations: 384 / 0.6485 GB, free: 316 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.614e-05/0.002858, allocations: 38.19 kB / 0.6485 GB, free: 272 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.002866, allocations: 192 / 0.6485 GB, free: 272 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.002873, allocations: 4.312 kB / 0.6486 GB, free: 268 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.002879, allocations: 4.359 kB / 0.6486 GB, free: 264 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.002897, allocations: 11.94 kB / 0.6486 GB, free: 252 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.003019, allocations: 109.3 kB / 0.6487 GB, free: 112 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.16e-05/0.003061, allocations: 18.58 kB / 0.6487 GB, free: 84 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.003081, allocations: 9.547 kB / 0.6487 GB, free: 72 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.003094, allocations: 4.062 kB / 0.6487 GB, free: 68 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.003116, allocations: 30.56 kB / 0.6487 GB, free: 28 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.003116, allocations: 3.938 kB / 0.6487 GB, free: 24 kB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.2501/0.2533, allocations: 38.84 kB / 0.6488 GB, free: 57.33 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.2533, allocations: 52.06 kB / 0.6488 GB, free: 57.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.2534, allocations: 116 kB / 0.6489 GB, free: 57.17 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.2534, allocations: 27.7 kB / 0.649 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.941e-05/0.2534, allocations: 85.73 kB / 0.649 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.2534, allocations: 5.156 kB / 0.649 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.2534, allocations: 13.58 kB / 0.6491 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.196e-05/0.2535, allocations: 315.2 kB / 0.6494 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.2535, allocations: 6.703 kB / 0.6494 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.2535, allocations: 17.91 kB / 0.6494 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.2535, allocations: 22.66 kB / 0.6494 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2535, allocations: 1 kB / 0.6494 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.394e-05/0.2536, allocations: 49.16 kB / 0.6495 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2536, allocations: 5.688 kB / 0.6495 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2536, allocations: 1.875 kB / 0.6495 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2536, allocations: 2 kB / 0.6495 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.2537, allocations: 7.359 kB / 0.6495 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2537, allocations: 4.688 kB / 0.6495 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.2537, allocations: 1.719 kB / 0.6495 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.2537, allocations: 1.844 kB / 0.6495 GB, free: 56.66 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 3.605e-05/0.2537, allocations: 114.9 kB / 0.6496 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-06/0.2538, allocations: 2.797 kB / 0.6496 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.992e-05/0.2538, allocations: 55.14 kB / 0.6496 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2538, allocations: 0 / 0.6496 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2538, allocations: 1.062 kB / 0.6496 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2538, allocations: 1.688 kB / 0.6496 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.183e-05/0.2539, allocations: 110.9 kB / 0.6497 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2539, allocations: 5.156 kB / 0.6498 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.2539, allocations: 4.203 kB / 0.6498 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2539, allocations: 0.9062 kB / 0.6498 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2539, allocations: 1.062 kB / 0.6498 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2539, allocations: 5.5 kB / 0.6498 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2539, allocations: 1.453 kB / 0.6498 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.428e-05/0.254, allocations: 77.55 kB / 0.6498 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.2541, allocations: 4.859 kB / 0.6498 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.2541, allocations: 1.281 kB / 0.6498 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-06/0.2541, allocations: 6.062 kB / 0.6499 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.2541, allocations: 4.734 kB / 0.6499 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.2541, allocations: 0.875 kB / 0.6499 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.541e-05/0.2541, allocations: 89.19 kB / 0.6499 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2541, allocations: 0.7812 kB / 0.6499 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001186/0.2542, allocations: 5.062 kB / 0.6499 GB, free: 56.25 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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 7.757e-05/0.2543, allocations: 94.31 kB / 0.65 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.388e-05/0.2544, allocations: 16.69 kB / 0.6501 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.2544, allocations: 1.484 kB / 0.6501 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/0.2544, allocations: 7.703 kB / 0.6501 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.2545, allocations: 5.328 kB / 0.6501 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.2547, allocations: 140 kB / 0.6502 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.437e-05/0.2548, allocations: 65.58 kB / 0.6503 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.2548, allocations: 11.27 kB / 0.6503 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of SimCode: time 4.11e-07/0.2548, allocations: 0 / 0.6503 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of Templates: time 0.001419/0.2562, allocations: 0.5317 MB / 0.6508 GB, free: 55.96 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.258483333513141] Failed to read output from testmodel.py, exit status != 0: 0.2615381069481373 0.268750694 0.265098528 Calling exit ...