Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001193/0.001193, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001197/0.001197, allocations: 192.3 kB / 16.25 MB, free: 6.617 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 65.75 kB / 0.9115 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3182, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002899/0.3211, allocations: 1.586 MB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003269/0.3215, allocations: 115.7 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.3215, allocations: 0 / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.3217, allocations: 7.875 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.723e-05/0.3217, allocations: 7.922 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.322, allocations: 27.98 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3221, allocations: 55.83 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3223, allocations: 27.98 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/0.3224, allocations: 27.86 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.575e-05/0.3225, allocations: 31.84 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.3225, allocations: 4 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.3226, allocations: 8 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.3226, allocations: 15.98 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.3227, allocations: 31.84 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.3228, allocations: 51.81 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.475e-06/0.3228, allocations: 8 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3229, allocations: 0 / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3229, allocations: 0 / 1.07 GB, free: 8.746 MB / 0.8262 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.0005894/0.3235, allocations: 379.5 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3235, allocations: 8.031 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.3236, allocations: 8.844 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.3237, allocations: 184.2 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3237, allocations: 8.375 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.3238, allocations: 4.375 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.3241, allocations: 90.14 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3241, allocations: 192 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3241, allocations: 3.938 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3241, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.3244, allocations: 87.91 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.325, allocations: 324.7 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.3252, allocations: 62.53 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.3254, allocations: 36.92 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.3254, allocations: 4 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3255, allocations: 38.64 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3255, allocations: 3.938 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005631/0.326, allocations: 141.7 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.3261, allocations: 51.41 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.3262, allocations: 121.7 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3262, allocations: 25.7 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.3263, allocations: 103.9 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.3263, allocations: 7.906 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.3264, allocations: 21.66 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3265, allocations: 322.8 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.3267, allocations: 31.97 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3268, allocations: 35.95 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.3271, allocations: 76.72 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3271, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003413/0.3274, allocations: 101.5 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3275, allocations: 9.703 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3275, allocations: 0 / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3275, allocations: 4 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3276, allocations: 15.98 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3277, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.3277, allocations: 15.98 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.3278, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 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 8.664e-05/0.3279, allocations: 117.8 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.3279, allocations: 4 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.3283, allocations: 117.5 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3283, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3283, allocations: 4 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3283, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.3285, allocations: 177.6 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3285, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.916e-05/0.3286, allocations: 23.97 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3286, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3286, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.3286, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3286, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.329, allocations: 211.2 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.3291, allocations: 81.02 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.3291, allocations: 4 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3292, allocations: 15.98 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3292, allocations: 7.984 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.3292, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.5e-05/0.3293, allocations: 95.2 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3293, allocations: 0 / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002311/0.3295, allocations: 15.94 kB / 1.073 GB, free: 5.273 MB / 0.8262 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.0001356/0.3297, allocations: 103.2 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000358/0.33, allocations: 83.84 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3301, allocations: 0 / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.3302, allocations: 36.3 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.3305, allocations: 19.92 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.3309, allocations: 165.5 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.3311, allocations: 0.6885 MB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.3312, allocations: 8.094 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.3312, allocations: 11.44 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3312, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of Templates: time 0.002943/0.3342, allocations: 0.66 MB / 1.074 GB, free: 3.449 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)