Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 107.7 kB / 17.02 MB, free: 5.699 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.00106/0.00106, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7498/0.7498, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 63.91 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3463, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001576/0.3479, allocations: 0.5744 MB / 0.5581 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000193/0.3481, allocations: 37.19 kB / 0.5582 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.3482, allocations: 1.375 kB / 0.5582 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.3482, allocations: 0.75 kB / 0.5582 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.722e-05/0.3482, allocations: 1.375 kB / 0.5582 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.3484, allocations: 10.95 kB / 0.5582 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.05e-05/0.3485, allocations: 7.266 kB / 0.5582 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.3485, allocations: 2.984 kB / 0.5582 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.551e-05/0.3485, allocations: 1.312 kB / 0.5582 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.3486, allocations: 12.44 kB / 0.5582 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.3486, allocations: 1.156 kB / 0.5582 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.574e-05/0.3487, allocations: 20.12 kB / 0.5582 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.3487, allocations: 7.531 kB / 0.5582 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.3487, allocations: 5.25 kB / 0.5582 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.926e-05/0.3488, allocations: 18.89 kB / 0.5583 GB, free: 36.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3488, allocations: 1.219 kB / 0.5583 GB, free: 36.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3488, allocations: 1.062 kB / 0.5583 GB, free: 36.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.3488, allocations: 0 / 0.5583 GB, free: 36.24 MB / 446.1 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.0002273/0.3491, allocations: 358 kB / 0.5586 GB, free: 35.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.3491, allocations: 10.69 kB / 0.5586 GB, free: 35.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.3491, allocations: 2.219 kB / 0.5586 GB, free: 35.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.869e-05/0.3492, allocations: 164.5 kB / 0.5588 GB, free: 35.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.3492, allocations: 1.375 kB / 0.5588 GB, free: 35.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.3492, allocations: 2.25 kB / 0.5588 GB, free: 35.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.3493, allocations: 59.45 kB / 0.5588 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.3493, allocations: 1.312 kB / 0.5588 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.3494, allocations: 12.3 kB / 0.5588 GB, free: 35.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.3494, allocations: 5.031 kB / 0.5588 GB, free: 35.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.3494, allocations: 24.59 kB / 0.5589 GB, free: 35.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.3497, allocations: 265.8 kB / 0.5591 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.492e-05/0.3497, allocations: 22.08 kB / 0.5591 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.3497, allocations: 13.91 kB / 0.5592 GB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.3497, allocations: 3.891 kB / 0.5592 GB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.3498, allocations: 41.78 kB / 0.5592 GB, free: 35.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3498, allocations: 0 / 0.5592 GB, free: 35.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.3499, allocations: 70.28 kB / 0.5593 GB, free: 35.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.3499, allocations: 78.42 kB / 0.5593 GB, free: 35.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.726e-05/0.35, allocations: 119 kB / 0.5595 GB, free: 34.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-06/0.35, allocations: 26.92 kB / 0.5595 GB, free: 34.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.3501, allocations: 96.3 kB / 0.5596 GB, free: 34.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.3501, allocations: 6.375 kB / 0.5596 GB, free: 34.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.3501, allocations: 26.86 kB / 0.5596 GB, free: 34.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.3501, allocations: 321 kB / 0.5599 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.3502, allocations: 9.969 kB / 0.5599 GB, free: 34.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.3502, allocations: 67.44 kB / 0.56 GB, free: 34.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.505e-05/0.3503, allocations: 130 kB / 0.5601 GB, free: 34.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3503, allocations: 1.188 kB / 0.5601 GB, free: 34.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001215/0.3504, allocations: 117.1 kB / 0.5602 GB, free: 34.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3504, allocations: 36.23 kB / 0.5603 GB, free: 34.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3505, allocations: 2.219 kB / 0.5603 GB, free: 34.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3505, allocations: 4.719 kB / 0.5603 GB, free: 34.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.3505, allocations: 16.66 kB / 0.5603 GB, free: 34.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3506, allocations: 1.906 kB / 0.5603 GB, free: 34.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.3506, allocations: 10.58 kB / 0.5603 GB, free: 34.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3506, allocations: 9.344 kB / 0.5603 GB, free: 34.15 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.3507, allocations: 147 kB / 0.5604 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.3507, allocations: 4.406 kB / 0.5604 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.327e-06/0.3507, allocations: 5.406 kB / 0.5605 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3507, allocations: 1.281 kB / 0.5605 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3508, allocations: 0.5156 kB / 0.5605 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.3508, allocations: 1.562 kB / 0.5605 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.571e-05/0.3509, allocations: 156.5 kB / 0.5606 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3509, allocations: 2.688 kB / 0.5606 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-06/0.3509, allocations: 2.203 kB / 0.5606 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.3509, allocations: 3.938 kB / 0.5606 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3509, allocations: 2.688 kB / 0.5606 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3509, allocations: 1.094 kB / 0.5606 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3509, allocations: 0 / 0.5606 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.417e-05/0.351, allocations: 165.4 kB / 0.5608 GB, free: 33.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.351, allocations: 83.55 kB / 0.5609 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.351, allocations: 2.094 kB / 0.5609 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.3511, allocations: 1.438 kB / 0.5609 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.3511, allocations: 6.812 kB / 0.5609 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3511, allocations: 2.5 kB / 0.5609 GB, free: 33.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.874e-05/0.3511, allocations: 89.69 kB / 0.561 GB, free: 33.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3511, allocations: 2.844 kB / 0.561 GB, free: 33.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.3514, allocations: 13.28 kB / 0.561 GB, free: 33.45 MB / 446.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001408/0.3515, allocations: 105.1 kB / 0.5611 GB, free: 33.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.3517, allocations: 87.62 kB / 0.5611 GB, free: 33.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3517, allocations: 1.406 kB / 0.5612 GB, free: 33.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.3517, allocations: 58.53 kB / 0.5612 GB, free: 33.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.3519, allocations: 6.469 kB / 0.5612 GB, free: 33.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001581/0.3521, allocations: 97.91 kB / 0.5613 GB, free: 33.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.632e-05/0.3522, allocations: 0.6778 MB / 0.562 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.411e-05/0.3522, allocations: 15.02 kB / 0.562 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-06/0.3522, allocations: 9.188 kB / 0.562 GB, free: 32.42 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3522, allocations: 0 / 0.562 GB, free: 32.42 MB / 446.1 MB Notification: Performance of Templates: time 0.002302/0.3545, allocations: 0.5085 MB / 0.5625 GB, free: 32.38 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)