Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.8862/0.8862, allocations: 117.9 MB / 133.9 MB, free: 9.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001863/0.001863, allocations: 188.3 kB / 161.7 MB, free: 13.98 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 394.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007797/0.00078, allocations: 88.73 kB / 470.1 MB, free: 29.07 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004125, allocations: 20 kB / 0.5423 GB, free: 9.793 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1624, allocations: 74.54 MB / 0.6151 GB, free: 15.18 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4689/0.6314, allocations: 101.7 MB / 0.7144 GB, free: 31.43 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.6316, allocations: 73.06 kB / 0.7145 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002966/0.6346, allocations: 1.139 MB / 0.7156 GB, free: 30.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6346, allocations: 0 / 0.7156 GB, free: 30.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.6347, allocations: 0 / 0.7156 GB, free: 30.62 MB / 0.4948 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.0004527/0.6351, allocations: 377.5 kB / 0.716 GB, free: 30.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.6352, allocations: 8.031 kB / 0.716 GB, free: 30.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.6352, allocations: 20.64 kB / 0.716 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.6354, allocations: 188.7 kB / 0.7162 GB, free: 29.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.6354, allocations: 7.688 kB / 0.7162 GB, free: 29.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.6354, allocations: 384 / 0.7162 GB, free: 29.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.6357, allocations: 93.84 kB / 0.7163 GB, free: 29.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6357, allocations: 4.75 kB / 0.7163 GB, free: 29.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.6358, allocations: 7.25 kB / 0.7163 GB, free: 29.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6358, allocations: 4 kB / 0.7163 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.6362, allocations: 102.6 kB / 0.7164 GB, free: 29.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.6368, allocations: 331.8 kB / 0.7167 GB, free: 29.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.637, allocations: 77.75 kB / 0.7168 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.6372, allocations: 50.97 kB / 0.7168 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.6372, allocations: 4.562 kB / 0.7168 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.6373, allocations: 35.12 kB / 0.7169 GB, free: 29.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.6373, allocations: 0 / 0.7169 GB, free: 29.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0006557/0.6379, allocations: 169.9 kB / 0.717 GB, free: 29.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.638, allocations: 54.28 kB / 0.7171 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.6381, allocations: 117.8 kB / 0.7172 GB, free: 29.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.6381, allocations: 26.27 kB / 0.7172 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.6382, allocations: 101.4 kB / 0.7173 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.6382, allocations: 11.33 kB / 0.7173 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.6382, allocations: 0 / 0.7173 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.6383, allocations: 320 kB / 0.7176 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.6385, allocations: 41.22 kB / 0.7177 GB, free: 28.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.6386, allocations: 55.62 kB / 0.7177 GB, free: 28.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.6389, allocations: 95.05 kB / 0.7178 GB, free: 28.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6389, allocations: 0 / 0.7178 GB, free: 28.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000314/0.6392, allocations: 123.6 kB / 0.7179 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.6393, allocations: 8 kB / 0.7179 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.6393, allocations: 0 / 0.7179 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.6393, allocations: 0.6094 kB / 0.7179 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.6395, allocations: 30.55 kB / 0.718 GB, free: 28.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.6395, allocations: 0.7031 kB / 0.718 GB, free: 28.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.6396, allocations: 20.39 kB / 0.718 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.6397, allocations: 0 / 0.718 GB, free: 28.34 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.6398, allocations: 122.6 kB / 0.7181 GB, free: 28.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.6398, allocations: 4.656 kB / 0.7181 GB, free: 28.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/0.6403, allocations: 133.3 kB / 0.7182 GB, free: 28.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6403, allocations: 48 / 0.7182 GB, free: 28.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6403, allocations: 7.984 kB / 0.7182 GB, free: 28.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6403, allocations: 0.6094 kB / 0.7182 GB, free: 28.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.6406, allocations: 179.3 kB / 0.7184 GB, free: 27.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6406, allocations: 0 / 0.7184 GB, free: 27.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.6407, allocations: 25.47 kB / 0.7184 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.6407, allocations: 4 kB / 0.7184 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.6408, allocations: 3.734 kB / 0.7184 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.6408, allocations: 3.938 kB / 0.7185 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6408, allocations: 0.6562 kB / 0.7185 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.6413, allocations: 227.9 kB / 0.7187 GB, free: 27.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.6414, allocations: 85.62 kB / 0.7188 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.6414, allocations: 0.75 kB / 0.7188 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.6416, allocations: 20.83 kB / 0.7188 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.6417, allocations: 2.016 kB / 0.7188 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.6417, allocations: 8.5 kB / 0.7188 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.6417, allocations: 93.62 kB / 0.7189 GB, free: 27.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/0.6417, allocations: 0 / 0.7189 GB, free: 27.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002292/0.642, allocations: 11.94 kB / 0.7189 GB, free: 27.46 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.6421, allocations: 104.4 kB / 0.719 GB, free: 27.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.6425, allocations: 107.7 kB / 0.7191 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6425, allocations: 0 / 0.7191 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.6427, allocations: 49.97 kB / 0.7191 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.6429, allocations: 4.703 kB / 0.7191 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.6433, allocations: 161.3 kB / 0.7193 GB, free: 27.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.6435, allocations: 0.6882 MB / 0.72 GB, free: 26.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.299e-05/0.6435, allocations: 7.734 kB / 0.72 GB, free: 26.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.6435, allocations: 15.38 kB / 0.72 GB, free: 26.35 MB / 0.4948 GB Notification: Performance of SimCode: time 3.01e-07/0.6435, allocations: 4 kB / 0.72 GB, free: 26.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.003122/0.6467, allocations: 0.6155 MB / 0.7206 GB, free: 26 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)