Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [/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.6448/0.6448, allocations: 117.9 MB / 133.9 MB, free: 4.512 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.001071/0.001071, allocations: 179.3 kB / 161.7 MB, free: 2.715 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.4 MB / 394.8 MB, free: 21.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.0008023/0.0008023, allocations: 103.3 kB / 470.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 16 kB / 0.5424 GB, free: 7.031 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3717, allocations: 74.53 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.5026, allocations: 100.7 MB / 0.7135 GB, free: 1.27 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.5029, allocations: 75.95 kB / 0.7136 GB, free: 1.195 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001413/0.5043, allocations: 0.5728 MB / 0.7141 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5044, allocations: 0 / 0.7141 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.5044, allocations: 0 / 0.7141 GB, free: 0.6211 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003247/0.5047, allocations: 340.8 kB / 0.7144 GB, free: 240 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.5048, allocations: 12.03 kB / 0.7145 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.5048, allocations: 8.828 kB / 0.7145 GB, free: 220 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.5049, allocations: 164.3 kB / 0.7146 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.505, allocations: 384 / 0.7146 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.505, allocations: 4.375 kB / 0.7146 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.5052, allocations: 54.33 kB / 0.7147 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.5052, allocations: 192 / 0.7147 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5052, allocations: 3.938 kB / 0.7147 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.5052, allocations: 11.92 kB / 0.7147 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.9e-05/0.5053, allocations: 31.88 kB / 0.7147 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.5056, allocations: 252.9 kB / 0.715 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.774e-05/0.5057, allocations: 26.31 kB / 0.715 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.5057, allocations: 16.8 kB / 0.715 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.5057, allocations: 4.062 kB / 0.715 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.5057, allocations: 30.56 kB / 0.715 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.5057, allocations: 3.938 kB / 0.715 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.5059, allocations: 63.31 kB / 0.7151 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.506, allocations: 85.09 kB / 0.7152 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/0.5061, allocations: 113.8 kB / 0.7153 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.5061, allocations: 29.83 kB / 0.7153 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.5062, allocations: 99.8 kB / 0.7154 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.618e-06/0.5062, allocations: 11.89 kB / 0.7154 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.5062, allocations: 0 / 0.7154 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5063, allocations: 314.8 kB / 0.7157 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.5063, allocations: 12 kB / 0.7157 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.98e-05/0.5064, allocations: 66.8 kB / 0.7158 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.5065, allocations: 122.2 kB / 0.7159 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5065, allocations: 0 / 0.7159 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001517/0.5067, allocations: 123.2 kB / 0.716 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.5067, allocations: 35.58 kB / 0.7161 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5067, allocations: 4 kB / 0.7161 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.5068, allocations: 4.25 kB / 0.7161 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.5068, allocations: 19.94 kB / 0.7161 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5068, allocations: 480 / 0.7161 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.5069, allocations: 11.84 kB / 0.7161 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.5069, allocations: 8 kB / 0.7161 GB, free: 14.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.504e-05/0.507, allocations: 151.4 kB / 0.7163 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.507, allocations: 4 kB / 0.7163 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.178e-05/0.5071, allocations: 3.531 kB / 0.7163 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.5071, allocations: 0 / 0.7163 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.5071, allocations: 4 kB / 0.7163 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5071, allocations: 0 / 0.7163 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.5072, allocations: 157.6 kB / 0.7164 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5072, allocations: 0 / 0.7164 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.5072, allocations: 0 / 0.7164 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.5073, allocations: 4 kB / 0.7164 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.5073, allocations: 3.984 kB / 0.7164 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5073, allocations: 3.938 kB / 0.7164 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5073, allocations: 3.938 kB / 0.7164 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.5074, allocations: 165.2 kB / 0.7166 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.5075, allocations: 85 kB / 0.7167 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.5075, allocations: 4 kB / 0.7167 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.5075, allocations: 0 / 0.7167 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.5075, allocations: 0 / 0.7167 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.5076, allocations: 4 kB / 0.7167 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.221e-05/0.5076, allocations: 95.25 kB / 0.7168 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5076, allocations: 0 / 0.7168 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002269/0.5079, allocations: 15.94 kB / 0.7168 GB, free: 13.48 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001662/0.508, allocations: 115.1 kB / 0.7169 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.5082, allocations: 87.27 kB / 0.717 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.5082, allocations: 0 / 0.717 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.5082, allocations: 63.39 kB / 0.717 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.5084, allocations: 2.109 kB / 0.717 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.5087, allocations: 111.3 kB / 0.7172 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.5089, allocations: 0.677 MB / 0.7178 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.394e-05/0.509, allocations: 11.98 kB / 0.7178 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.011e-05/0.509, allocations: 7.438 kB / 0.7178 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of SimCode: time 2.41e-07/0.509, allocations: 0 / 0.7178 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.002432/0.5114, allocations: 0.4953 MB / 0.7183 GB, free: 11.83 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)