Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.001369/0.001369, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001619/0.001619, allocations: 167 kB / 22.46 MB, free: 5.359 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.44/1.44, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.002592/0.002592, allocations: 238.6 kB / 259.4 MB, free: 484 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.155/1.155, allocations: 138.4 MB / 454.3 MB, free: 1.996 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.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.6468 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.577e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001478/0.001504, allocations: 0.5286 MB / 0.6473 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001121/0.001616, allocations: 15.91 kB / 0.6473 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.001644, allocations: 0 / 0.6473 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.047e-05/0.001654, allocations: 4 kB / 0.6473 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.001787, allocations: 7.938 kB / 0.6473 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.406e-06/0.001791, allocations: 0 / 0.6473 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.544e-05/0.001836, allocations: 7.938 kB / 0.6473 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.001875, allocations: 3.938 kB / 0.6473 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.635e-05/0.001922, allocations: 4 kB / 0.6473 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.584e-05/0.001957, allocations: 3.984 kB / 0.6473 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.001971, allocations: 3.984 kB / 0.6473 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.102e-06/0.001977, allocations: 0 / 0.6473 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.001988, allocations: 0 / 0.6473 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.002004, allocations: 11.94 kB / 0.6473 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 3.767e-05/0.002041, allocations: 0 / 0.6473 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.002043, allocations: 0 / 0.6473 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002044, allocations: 0 / 0.6473 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.002046, allocations: 0 / 0.6473 GB, free: 4.461 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000286/0.002333, allocations: 242.4 kB / 0.6476 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.00237, allocations: 13.34 kB / 0.6476 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.002396, allocations: 0.9375 kB / 0.6476 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.575e-05/0.002492, allocations: 101.8 kB / 0.6477 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.002504, allocations: 4.375 kB / 0.6477 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.002511, allocations: 384 / 0.6477 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.865e-05/0.002609, allocations: 51.92 kB / 0.6477 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.002617, allocations: 192 / 0.6477 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.002624, allocations: 384 / 0.6477 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.002627, allocations: 384 / 0.6477 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.539e-05/0.002653, allocations: 11.92 kB / 0.6478 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.002791, allocations: 102.2 kB / 0.6479 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.27e-05/0.002853, allocations: 41.19 kB / 0.6479 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.002875, allocations: 9.719 kB / 0.6479 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.002896, allocations: 0 / 0.6479 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.002927, allocations: 34.62 kB / 0.6479 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.002928, allocations: 4 kB / 0.6479 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001393/0.003067, allocations: 49.58 kB / 0.648 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.00314, allocations: 81.11 kB / 0.6481 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.00321, allocations: 93.8 kB / 0.6482 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.003226, allocations: 25.7 kB / 0.6482 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.003273, allocations: 88.08 kB / 0.6483 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.003295, allocations: 3.984 kB / 0.6483 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.003325, allocations: 17.67 kB / 0.6483 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.003472, allocations: 311.2 kB / 0.6486 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.003484, allocations: 8 kB / 0.6486 GB, free: 3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.003504, allocations: 17.72 kB / 0.6486 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.199e-05/0.003536, allocations: 13.72 kB / 0.6486 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.003537, allocations: 3.938 kB / 0.6486 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.093e-05/0.003608, allocations: 45.62 kB / 0.6487 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.003631, allocations: 8 kB / 0.6487 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.003634, allocations: 3.938 kB / 0.6487 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.003645, allocations: 4.125 kB / 0.6487 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.814e-05/0.003703, allocations: 4 kB / 0.6487 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.003707, allocations: 0 / 0.6487 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.003726, allocations: 3.938 kB / 0.6487 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.003733, allocations: 3.984 kB / 0.6487 GB, free: 2.875 MB / 0.5606 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 7.436e-05/0.003807, allocations: 109.8 kB / 0.6488 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.003816, allocations: 0 / 0.6488 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.003929, allocations: 52.62 kB / 0.6488 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.00393, allocations: 0 / 0.6488 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.003934, allocations: 4.062 kB / 0.6489 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.003938, allocations: 3.938 kB / 0.6489 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.181e-05/0.00403, allocations: 105.3 kB / 0.649 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.004031, allocations: 0 / 0.649 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.004057, allocations: 4 kB / 0.649 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.004063, allocations: 7.969 kB / 0.649 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.00407, allocations: 0 / 0.649 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.004074, allocations: 7.938 kB / 0.649 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004074, allocations: 0 / 0.649 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.334e-05/0.004158, allocations: 65.94 kB / 0.649 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.004192, allocations: 16.02 kB / 0.6491 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.004201, allocations: 0 / 0.6491 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.526e-05/0.004216, allocations: 0 / 0.6491 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.004227, allocations: 0 / 0.6491 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.004232, allocations: 4 kB / 0.6491 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.004279, allocations: 79.22 kB / 0.6491 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.004279, allocations: 0 / 0.6491 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001802/0.004459, allocations: 0 / 0.6491 GB, free: 2.355 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 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 0.0001002/0.004559, allocations: 99.19 kB / 0.6492 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.246e-05/0.004631, allocations: 16.08 kB / 0.6492 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.004633, allocations: 0 / 0.6492 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-06/0.004641, allocations: 4 kB / 0.6492 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.004772, allocations: 7.938 kB / 0.6493 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.004985, allocations: 95 kB / 0.6493 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.916e-05/0.005035, allocations: 55.36 kB / 0.6494 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.774e-05/0.005052, allocations: 4 kB / 0.6494 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.005072, allocations: 8.75 kB / 0.6494 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.005073, allocations: 4 kB / 0.6494 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of Templates: time 0.002188/0.007261, allocations: 203.5 kB / 0.6496 GB, free: 1.812 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.683570813387632] Failed to read output from testmodel.py, exit status != 0: 0.015506431460380554 0.26574620499999996 0.26154001599999993 Calling exit ...