Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001136/0.001137, allocations: 92.09 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 184.8 kB / 16.92 MB, free: 6.891 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.445/1.445, allocations: 223.2 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7405/0.7405, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003896, allocations: 12 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2081, allocations: 77.55 MB / 0.56 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002271/0.2104, allocations: 1.248 MB / 0.5612 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004005/0.2108, allocations: 108.5 kB / 0.5613 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.2109, allocations: 3.938 kB / 0.5613 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.211, allocations: 11.98 kB / 0.5613 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.133e-05/0.2111, allocations: 7.922 kB / 0.5613 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.2113, allocations: 31.91 kB / 0.5613 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.2114, allocations: 43.91 kB / 0.5614 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2116, allocations: 19.98 kB / 0.5614 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.224e-05/0.2116, allocations: 23.91 kB / 0.5614 GB, free: 7.492 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.777e-05/0.2117, allocations: 27.84 kB / 0.5614 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.2118, allocations: 8 kB / 0.5615 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/0.2118, allocations: 4 kB / 0.5615 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.2119, allocations: 15.92 kB / 0.5615 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.212, allocations: 49.5 kB / 0.5615 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.2121, allocations: 55.84 kB / 0.5616 GB, free: 7.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2121, allocations: 3.938 kB / 0.5616 GB, free: 7.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2121, allocations: 0 / 0.5616 GB, free: 7.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2121, allocations: 0 / 0.5616 GB, free: 7.324 MB / 430.1 MB 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.000642/0.2128, allocations: 379.6 kB / 0.5619 GB, free: 6.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.2128, allocations: 12.02 kB / 0.562 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.2129, allocations: 4.938 kB / 0.562 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.2131, allocations: 184.2 kB / 0.5621 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.2131, allocations: 384 / 0.5621 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.2131, allocations: 4.375 kB / 0.5621 GB, free: 6.664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.2135, allocations: 102.1 kB / 0.5622 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2135, allocations: 192 / 0.5622 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.2135, allocations: 7.938 kB / 0.5622 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2135, allocations: 4 kB / 0.5622 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.2139, allocations: 99.91 kB / 0.5623 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007924/0.2147, allocations: 340.6 kB / 0.5627 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.2149, allocations: 78.45 kB / 0.5627 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.2151, allocations: 56.91 kB / 0.5628 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.2152, allocations: 4 kB / 0.5628 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.2152, allocations: 30.56 kB / 0.5628 GB, free: 5.879 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 3.106e-06/0.2152, allocations: 0 / 0.5628 GB, free: 5.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000603/0.2158, allocations: 173.5 kB / 0.563 GB, free: 5.703 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2159, allocations: 59.41 kB / 0.563 GB, free: 5.633 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.216, allocations: 116.8 kB / 0.5632 GB, free: 5.512 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.2161, allocations: 25.7 kB / 0.5632 GB, free: 5.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.2161, allocations: 100.1 kB / 0.5633 GB, free: 5.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.2162, allocations: 7.812 kB / 0.5633 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.2163, allocations: 9.719 kB / 0.5633 GB, free: 5.355 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2164, allocations: 326.8 kB / 0.5636 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.2166, allocations: 43.97 kB / 0.5637 GB, free: 4.984 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.2168, allocations: 47.95 kB / 0.5637 GB, free: 4.938 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.2171, allocations: 92.78 kB / 0.5638 GB, free: 4.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2171, allocations: 0 / 0.5638 GB, free: 4.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003461/0.2174, allocations: 133.5 kB / 0.5639 GB, free: 4.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2174, allocations: 4 kB / 0.5639 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2175, allocations: 0 / 0.5639 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2175, allocations: 0 / 0.5639 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.2176, allocations: 19.98 kB / 0.5639 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2176, allocations: 0 / 0.5639 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.87e-05/0.2177, allocations: 19.98 kB / 0.564 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.2178, allocations: 7.984 kB / 0.564 GB, free: 4.656 MB / 430.1 MB 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 0.0001057/0.2179, allocations: 117.8 kB / 0.5641 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.2179, allocations: 3.906 kB / 0.5641 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.2183, allocations: 141.4 kB / 0.5642 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2184, allocations: 0 / 0.5642 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2184, allocations: 0 / 0.5642 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2184, allocations: 4 kB / 0.5642 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.2186, allocations: 177.6 kB / 0.5644 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2186, allocations: 0 / 0.5644 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.905e-05/0.2187, allocations: 19.98 kB / 0.5644 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2187, allocations: 0 / 0.5644 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2187, allocations: 4 kB / 0.5644 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.2187, allocations: 4 kB / 0.5644 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2188, allocations: 3.938 kB / 0.5644 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.2192, allocations: 235.6 kB / 0.5646 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.2193, allocations: 77.11 kB / 0.5647 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.2193, allocations: 4 kB / 0.5647 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2194, allocations: 19.97 kB / 0.5647 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.2195, allocations: 7.984 kB / 0.5647 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.2195, allocations: 3.984 kB / 0.5647 GB, free: 3.746 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.504e-05/0.2196, allocations: 95.27 kB / 0.5648 GB, free: 3.652 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2196, allocations: 0 / 0.5648 GB, free: 3.652 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.2198, allocations: 11.94 kB / 0.5649 GB, free: 3.641 MB / 430.1 MB 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.0001855/0.22, allocations: 99.19 kB / 0.5649 GB, free: 3.535 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004254/0.2204, allocations: 103.9 kB / 0.565 GB, free: 3.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2204, allocations: 0 / 0.565 GB, free: 3.434 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.2206, allocations: 55.91 kB / 0.5651 GB, free: 3.379 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.2209, allocations: 7.984 kB / 0.5651 GB, free: 3.371 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.2213, allocations: 168.6 kB / 0.5653 GB, free: 3.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.2217, allocations: 0.6926 MB / 0.5659 GB, free: 2.465 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.412e-05/0.2218, allocations: 4 kB / 0.5659 GB, free: 2.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.2218, allocations: 7.438 kB / 0.566 GB, free: 2.453 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2218, allocations: 0 / 0.566 GB, free: 2.453 MB / 430.1 MB Notification: Performance of Templates: time 0.003213/0.225, allocations: 0.6264 MB / 0.5666 GB, free: 1.828 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)