Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.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.0007723/0.0007723, allocations: 72.55 kB / 19.93 MB, free: 4.621 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.0007167/0.0007167, allocations: 177.9 kB / 23.22 MB, free: 1.336 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.8546/0.8546, allocations: 177.2 MB / 203.5 MB, free: 5.73 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.00148/0.00148, allocations: 234 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.6636/0.6636, allocations: 138.4 MB / 455.1 MB, free: 30.09 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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.6475 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.184e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.2532/0.2532, allocations: 1.545 MB / 0.649 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003348/0.2535, allocations: 114.2 kB / 0.6492 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.2536, allocations: 4.688 kB / 0.6492 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.2537, allocations: 10.28 kB / 0.6492 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.1e-05/0.2537, allocations: 8.922 kB / 0.6492 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.254, allocations: 30.72 kB / 0.6492 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.782e-05/0.2541, allocations: 60.16 kB / 0.6493 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2542, allocations: 14.95 kB / 0.6493 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.359e-05/0.2543, allocations: 32.23 kB / 0.6493 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.2543, allocations: 25.22 kB / 0.6493 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.2544, allocations: 5.312 kB / 0.6493 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.484e-05/0.2544, allocations: 12.64 kB / 0.6493 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.2545, allocations: 15.52 kB / 0.6494 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.2545, allocations: 17.3 kB / 0.6494 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.2546, allocations: 70.08 kB / 0.6494 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2547, allocations: 0.875 kB / 0.6494 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2547, allocations: 2.438 kB / 0.6495 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2547, allocations: 0.75 kB / 0.6495 GB, free: 56.3 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003725/0.255, allocations: 299 kB / 0.6497 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2551, allocations: 12.02 kB / 0.6497 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.2551, allocations: 8.609 kB / 0.6498 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2552, allocations: 133.4 kB / 0.6499 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2552, allocations: 2.984 kB / 0.6499 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2552, allocations: 5 kB / 0.6499 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.2554, allocations: 90.19 kB / 0.65 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2554, allocations: 0.75 kB / 0.65 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2555, allocations: 1.969 kB / 0.65 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2555, allocations: 1.312 kB / 0.65 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.2556, allocations: 85.08 kB / 0.6501 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.256, allocations: 261 kB / 0.6503 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.2561, allocations: 55.66 kB / 0.6504 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.2562, allocations: 44.69 kB / 0.6504 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.2562, allocations: 2.75 kB / 0.6504 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.2562, allocations: 33.5 kB / 0.6504 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/0.2562, allocations: 1.75 kB / 0.6504 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0003317/0.2566, allocations: 141.2 kB / 0.6506 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.2566, allocations: 52.02 kB / 0.6506 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.899e-05/0.2567, allocations: 114.8 kB / 0.6507 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-06/0.2567, allocations: 29.48 kB / 0.6508 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.2567, allocations: 99.3 kB / 0.6509 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.2567, allocations: 7.797 kB / 0.6509 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.2567, allocations: 15.17 kB / 0.6509 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.474e-05/0.2568, allocations: 317.6 kB / 0.6512 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.2569, allocations: 32.5 kB / 0.6512 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.371e-05/0.2569, allocations: 36.09 kB / 0.6512 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.2571, allocations: 74.77 kB / 0.6513 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2571, allocations: 2.031 kB / 0.6513 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001774/0.2573, allocations: 109.9 kB / 0.6514 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2573, allocations: 7.5 kB / 0.6514 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2573, allocations: 3.156 kB / 0.6514 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2573, allocations: 0 / 0.6514 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.2574, allocations: 16.78 kB / 0.6515 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2574, allocations: 3.938 kB / 0.6515 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.2574, allocations: 20.2 kB / 0.6515 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.2574, allocations: 1.891 kB / 0.6515 GB, free: 54.87 MB / 0.5573 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 (3): * Single equations (assignments): 3 * 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 4.372e-05/0.2575, allocations: 114.4 kB / 0.6516 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.2575, allocations: 10.58 kB / 0.6516 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.2577, allocations: 119.9 kB / 0.6517 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2577, allocations: 1.062 kB / 0.6517 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2577, allocations: 1.734 kB / 0.6517 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2577, allocations: 2.562 kB / 0.6517 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.778e-05/0.2578, allocations: 120.1 kB / 0.6518 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2578, allocations: 0.7031 kB / 0.6518 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.2579, allocations: 16.31 kB / 0.6518 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2579, allocations: 3.938 kB / 0.6519 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2579, allocations: 3.688 kB / 0.6519 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2579, allocations: 1.453 kB / 0.6519 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2579, allocations: 0.7812 kB / 0.6519 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.2581, allocations: 203 kB / 0.6521 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.2581, allocations: 9.781 kB / 0.6521 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.2581, allocations: 3.016 kB / 0.6521 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.2581, allocations: 10.91 kB / 0.6521 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.2582, allocations: 5.859 kB / 0.6521 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2582, allocations: 2.625 kB / 0.6521 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.385e-05/0.2582, allocations: 90.88 kB / 0.6522 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2582, allocations: 2.219 kB / 0.6522 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001496/0.2584, allocations: 19.03 kB / 0.6522 GB, free: 54.36 MB / 0.5573 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 (3): * Single equations (assignments): 3 * 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.0001191/0.2585, allocations: 98.55 kB / 0.6523 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.2587, allocations: 73.52 kB / 0.6524 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2587, allocations: 2.031 kB / 0.6524 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.558e-05/0.2587, allocations: 41.09 kB / 0.6524 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.259, allocations: 10.44 kB / 0.6524 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.2593, allocations: 184.2 kB / 0.6526 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.715e-05/0.2593, allocations: 79.25 kB / 0.6527 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.2594, allocations: 13.58 kB / 0.6527 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/0.2594, allocations: 0 / 0.6527 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of Templates: time 0.002174/0.2615, allocations: 0.9597 MB / 0.6536 GB, free: 54 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.081129183061421] Failed to read output from testmodel.py, exit status != 0: 0.26718023605644703 0.274763978 0.018523253 Calling exit ...