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.0009252/0.000925, allocations: 88.64 kB / 16.67 MB, free: 6.594 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.0008596/0.0008597, allocations: 182 kB / 17.58 MB, free: 6.188 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.297/1.297, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6915/0.6915, allocations: 115.5 MB / 408.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 15.98 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3481, allocations: 77.52 MB / 0.5606 GB, free: 36.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006767/0.3489, allocations: 315.7 kB / 0.5609 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002636/0.3491, allocations: 41.39 kB / 0.5609 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.633e-05/0.3492, allocations: 2.938 kB / 0.5609 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.3492, allocations: 0 / 0.5609 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.3492, allocations: 0 / 0.5609 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.3494, allocations: 8.609 kB / 0.561 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.081e-05/0.3495, allocations: 6.594 kB / 0.561 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.3495, allocations: 3.594 kB / 0.561 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.3495, allocations: 2.078 kB / 0.561 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.455e-05/0.3496, allocations: 5.484 kB / 0.561 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.3496, allocations: 0 / 0.561 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.3497, allocations: 21.28 kB / 0.561 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.3497, allocations: 8.406 kB / 0.561 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.3498, allocations: 36.67 kB / 0.561 GB, free: 36.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.64e-05/0.3498, allocations: 10.66 kB / 0.561 GB, free: 36.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3498, allocations: 1.156 kB / 0.561 GB, free: 36.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3498, allocations: 0 / 0.561 GB, free: 36.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.3499, allocations: 0 / 0.561 GB, free: 36.19 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.0002264/0.3501, allocations: 348 kB / 0.5614 GB, free: 35.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3501, allocations: 13.28 kB / 0.5614 GB, free: 35.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.3502, allocations: 2.375 kB / 0.5614 GB, free: 35.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.002e-05/0.3502, allocations: 166.2 kB / 0.5616 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3502, allocations: 1.844 kB / 0.5616 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3503, allocations: 1.031 kB / 0.5616 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.3504, allocations: 59.69 kB / 0.5616 GB, free: 35.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.3504, allocations: 192 / 0.5616 GB, free: 35.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3504, allocations: 5.188 kB / 0.5616 GB, free: 35.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.3504, allocations: 12.69 kB / 0.5616 GB, free: 35.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.833e-05/0.3505, allocations: 25.66 kB / 0.5617 GB, free: 35.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.3508, allocations: 263.7 kB / 0.5619 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.72e-05/0.3508, allocations: 18.5 kB / 0.5619 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.3508, allocations: 8.797 kB / 0.5619 GB, free: 35.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.3509, allocations: 0.9688 kB / 0.5619 GB, free: 35.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3509, allocations: 37.08 kB / 0.562 GB, free: 35.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3509, allocations: 0 / 0.562 GB, free: 35.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001627/0.3511, allocations: 75.92 kB / 0.562 GB, free: 35.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.3511, allocations: 79.52 kB / 0.5621 GB, free: 35.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.3512, allocations: 116.4 kB / 0.5622 GB, free: 34.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.3512, allocations: 25.7 kB / 0.5622 GB, free: 34.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.3512, allocations: 106.6 kB / 0.5624 GB, free: 34.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.3512, allocations: 1.297 kB / 0.5624 GB, free: 34.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.3513, allocations: 13.5 kB / 0.5624 GB, free: 34.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.3513, allocations: 322.5 kB / 0.5627 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.3514, allocations: 8.438 kB / 0.5627 GB, free: 34.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.25e-05/0.3514, allocations: 64.97 kB / 0.5627 GB, free: 34.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.809e-05/0.3515, allocations: 127.7 kB / 0.5629 GB, free: 34.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3515, allocations: 0.75 kB / 0.5629 GB, free: 34.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001349/0.3516, allocations: 127.3 kB / 0.563 GB, free: 34.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.3517, allocations: 35.95 kB / 0.563 GB, free: 34.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3517, allocations: 4.656 kB / 0.563 GB, free: 34.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3517, allocations: 3.312 kB / 0.563 GB, free: 34.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.3518, allocations: 15.88 kB / 0.563 GB, free: 34.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3518, allocations: 2.891 kB / 0.563 GB, free: 34.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.3519, allocations: 9.141 kB / 0.5631 GB, free: 34.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.3519, allocations: 4.531 kB / 0.5631 GB, free: 34.12 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 6.312e-05/0.352, allocations: 148.1 kB / 0.5632 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.352, allocations: 7.219 kB / 0.5632 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.222e-05/0.352, allocations: 5.969 kB / 0.5632 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.352, allocations: 0 / 0.5632 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.352, allocations: 2.359 kB / 0.5632 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.352, allocations: 0.5 kB / 0.5632 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.3521, allocations: 162.8 kB / 0.5634 GB, free: 33.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3522, allocations: 4 kB / 0.5634 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-06/0.3522, allocations: 1.188 kB / 0.5634 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3522, allocations: 1.594 kB / 0.5634 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3522, allocations: 2.422 kB / 0.5634 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3522, allocations: 3.938 kB / 0.5634 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3522, allocations: 0 / 0.5634 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.753e-05/0.3523, allocations: 167.5 kB / 0.5635 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.3523, allocations: 77.81 kB / 0.5636 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3523, allocations: 2.875 kB / 0.5636 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.3524, allocations: 3.828 kB / 0.5636 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.3524, allocations: 0 / 0.5636 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.3524, allocations: 3.391 kB / 0.5636 GB, free: 33.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.096e-05/0.3525, allocations: 90.36 kB / 0.5637 GB, free: 33.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3525, allocations: 0 / 0.5637 GB, free: 33.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.3527, allocations: 18.44 kB / 0.5637 GB, free: 33.4 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.0001391/0.3529, allocations: 104.9 kB / 0.5638 GB, free: 33.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.353, allocations: 87.31 kB / 0.5639 GB, free: 33.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.353, allocations: 2.531 kB / 0.5639 GB, free: 33.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.193e-05/0.353, allocations: 56.81 kB / 0.564 GB, free: 33.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.3532, allocations: 11.31 kB / 0.564 GB, free: 33.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000203/0.3534, allocations: 137.3 kB / 0.5641 GB, free: 33.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.977e-05/0.3535, allocations: 0.6783 MB / 0.5648 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.043e-05/0.3536, allocations: 11.19 kB / 0.5648 GB, free: 32.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3536, allocations: 0 / 0.5648 GB, free: 32.33 MB / 446.1 MB Notification: Performance of Templates: time 0.002065/0.3556, allocations: 0.6655 MB / 0.5654 GB, free: 32.32 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)