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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.832/0.832, allocations: 127.4 MB / 134.9 MB, free: 3.477 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.000999/0.000999, allocations: 175 kB / 164.6 MB, free: 11.61 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.46/1.46, allocations: 205.2 MB / 399.5 MB, free: 13.48 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.0008168/0.0008168, allocations: 96.92 kB / 476.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.936e-05, allocations: 5.625 kB / 0.5466 GB, free: 95.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 76.76 MB / 0.6215 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.2476, allocations: 101.1 MB / 0.7202 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.2478, allocations: 79.94 kB / 0.7203 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001202/0.2491, allocations: 0.5676 MB / 0.7209 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2491, allocations: 0 / 0.7209 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2491, allocations: 0 / 0.7209 GB, free: 5.223 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002645/0.2494, allocations: 348.1 kB / 0.7212 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2494, allocations: 8.031 kB / 0.7212 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.2495, allocations: 7.953 kB / 0.7212 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2496, allocations: 159.1 kB / 0.7214 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.2496, allocations: 4 kB / 0.7214 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.2496, allocations: 0 / 0.7214 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.805e-05/0.2497, allocations: 23.98 kB / 0.7214 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.91e-05/0.2498, allocations: 53.69 kB / 0.7214 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2498, allocations: 0 / 0.7214 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2498, allocations: 4 kB / 0.7215 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.2498, allocations: 4 kB / 0.7215 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.2501, allocations: 245.3 kB / 0.7217 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.531e-05/0.2502, allocations: 14.58 kB / 0.7217 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.2502, allocations: 12.92 kB / 0.7217 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-06/0.2502, allocations: 0 / 0.7217 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2502, allocations: 34.52 kB / 0.7217 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2502, allocations: 0 / 0.7217 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001577/0.2504, allocations: 41.69 kB / 0.7218 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.2505, allocations: 81.05 kB / 0.7219 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.2505, allocations: 116.8 kB / 0.722 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.2506, allocations: 29.73 kB / 0.722 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.2506, allocations: 99.86 kB / 0.7221 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-06/0.2506, allocations: 0 / 0.7221 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.2506, allocations: 0 / 0.7221 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.2507, allocations: 314.8 kB / 0.7224 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.2508, allocations: 15.94 kB / 0.7224 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-05/0.2508, allocations: 58.94 kB / 0.7225 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.2509, allocations: 15.98 kB / 0.7225 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2509, allocations: 0 / 0.7225 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001438/0.251, allocations: 85.48 kB / 0.7226 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.2511, allocations: 37.7 kB / 0.7226 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2511, allocations: 3.984 kB / 0.7226 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2511, allocations: 11.89 kB / 0.7226 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.572e-05/0.2512, allocations: 8 kB / 0.7226 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.2512, allocations: 4 kB / 0.7226 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.2512, allocations: 11.84 kB / 0.7226 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.2513, allocations: 4.25 kB / 0.7226 GB, free: 3.16 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 () * 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 7.313e-05/0.2514, allocations: 140.5 kB / 0.7228 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2514, allocations: 7.984 kB / 0.7228 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.046e-05/0.2514, allocations: 3.969 kB / 0.7228 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2514, allocations: 0 / 0.7228 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2514, allocations: 3.953 kB / 0.7228 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2514, allocations: 0 / 0.7228 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.2515, allocations: 134.2 kB / 0.7229 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2515, allocations: 0 / 0.7229 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-06/0.2516, allocations: 3.984 kB / 0.7229 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2516, allocations: 8 kB / 0.7229 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2516, allocations: 0 / 0.7229 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2516, allocations: 0 / 0.7229 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2516, allocations: 0 / 0.7229 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.2517, allocations: 145.6 kB / 0.7231 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.2518, allocations: 77.11 kB / 0.7231 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.2518, allocations: 0 / 0.7231 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-05/0.2518, allocations: 7.938 kB / 0.7232 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.2519, allocations: 8.031 kB / 0.7232 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2519, allocations: 0 / 0.7232 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.047e-05/0.2519, allocations: 91.27 kB / 0.7233 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2519, allocations: 0 / 0.7233 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002285/0.2522, allocations: 12 kB / 0.7233 GB, free: 2.453 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 () * 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.000161/0.2523, allocations: 111.1 kB / 0.7234 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.2525, allocations: 79.64 kB / 0.7234 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2525, allocations: 8.188 kB / 0.7235 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.702e-05/0.2525, allocations: 51.41 kB / 0.7235 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.2526, allocations: 4.938 kB / 0.7235 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001757/0.2528, allocations: 63.94 kB / 0.7236 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.2531, allocations: 0.6884 MB / 0.7242 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.651e-05/0.2532, allocations: 12.17 kB / 0.7243 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.241e-05/0.2532, allocations: 11.5 kB / 0.7243 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/0.2532, allocations: 0 / 0.7243 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.002372/0.2556, allocations: 488.8 kB / 0.7247 GB, free: 0.8672 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)