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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009906/0.0009906, allocations: 112.9 kB / 16.42 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 189.5 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 291.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8789/0.8789, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 100.2 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3505, allocations: 86.99 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.002327/0.3528, allocations: 1.527 MB / 0.7686 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002738/0.3531, allocations: 112.5 kB / 0.7687 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.3532, allocations: 4 kB / 0.7687 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.746e-05/0.3533, allocations: 3.938 kB / 0.7687 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.65e-05/0.3533, allocations: 19.84 kB / 0.7687 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3535, allocations: 27.97 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.161e-05/0.3536, allocations: 51.84 kB / 0.7688 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3537, allocations: 23.98 kB / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.3538, allocations: 23.92 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.3539, allocations: 35.83 kB / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3539, allocations: 4 kB / 0.7689 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.241e-05/0.3539, allocations: 15.94 kB / 0.7689 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.354, allocations: 15.92 kB / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.354, allocations: 27.86 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3541, allocations: 63.45 kB / 0.769 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3541, allocations: 0 / 0.769 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3542, allocations: 0 / 0.769 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.748e-06/0.3542, allocations: 4 kB / 0.769 GB, free: 1.961 MB / 0.5294 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.0004707/0.3546, allocations: 373.9 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.3547, allocations: 8.031 kB / 0.7693 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.3547, allocations: 8.844 kB / 0.7693 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.3549, allocations: 192.1 kB / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.3549, allocations: 8.375 kB / 0.7695 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3549, allocations: 4.312 kB / 0.7695 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.3552, allocations: 94.19 kB / 0.7696 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.3552, allocations: 192 / 0.7696 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3552, allocations: 7.938 kB / 0.7696 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.3552, allocations: 0 / 0.7696 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.3555, allocations: 79.86 kB / 0.7697 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.356, allocations: 328.7 kB / 0.77 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3562, allocations: 54.67 kB / 0.7701 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.3563, allocations: 44.81 kB / 0.7701 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3564, allocations: 8 kB / 0.7701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.3564, allocations: 30.56 kB / 0.7702 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3564, allocations: 0 / 0.7702 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005222/0.3569, allocations: 129.8 kB / 0.7703 GB, free: 460 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.357, allocations: 59.39 kB / 0.7703 GB, free: 388 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.3571, allocations: 117.8 kB / 0.7705 GB, free: 260 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3571, allocations: 25.7 kB / 0.7705 GB, free: 228 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.3571, allocations: 99.98 kB / 0.7706 GB, free: 124 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3571, allocations: 11.83 kB / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.3572, allocations: 13.72 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3573, allocations: 318.8 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.3574, allocations: 39.95 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.3576, allocations: 39.94 kB / 0.771 GB, free: 15.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.3579, allocations: 68.78 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3579, allocations: 0 / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003194/0.3582, allocations: 113.5 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3582, allocations: 4 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3582, allocations: 0 / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3583, allocations: 0 / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3584, allocations: 23.91 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.3584, allocations: 0 / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.3585, allocations: 15.98 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.3585, allocations: 0 / 0.7712 GB, free: 15.46 MB / 0.545 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 7.571e-05/0.3586, allocations: 121.7 kB / 0.7713 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.3586, allocations: 7.984 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.359, allocations: 105.5 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.359, allocations: 4 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.359, allocations: 0 / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.359, allocations: 85.02 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.359, allocations: 3.984 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3592, allocations: 15.92 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.3592, allocations: 4 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003903/0.3596, allocations: 192.8 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003731/0.36, allocations: 274.7 kB / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001482/0.3601, allocations: 43.95 kB / 0.772 GB, free: 14.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.228e-05/0.3602, allocations: 91.27 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of Backend: time 3.01e-07/0.3602, allocations: 3.938 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.3607, allocations: 118.3 kB / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004363/0.3611, allocations: 0.5923 MB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of Templates: time 0.002888/0.364, allocations: 0.9671 MB / 0.7737 GB, free: 12.75 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.makefile (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)