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.001289/0.001289, allocations: 101.5 kB / 16.52 MB, free: 6.656 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.001314/0.001315, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7133/0.7133, allocations: 115.3 MB / 406.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3783, allocations: 76.18 MB / 0.5564 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001642/0.38, allocations: 0.6344 MB / 0.557 GB, free: 35.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002334/0.3803, allocations: 45.84 kB / 0.5571 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.3803, allocations: 0.75 kB / 0.5571 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.3803, allocations: 4 kB / 0.5571 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.278e-05/0.3804, allocations: 3.25 kB / 0.5571 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.3805, allocations: 7.938 kB / 0.5571 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.697e-05/0.3806, allocations: 2.734 kB / 0.5571 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.3806, allocations: 7.484 kB / 0.5571 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.3806, allocations: 5.922 kB / 0.5571 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.684e-05/0.3807, allocations: 3.219 kB / 0.5571 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3807, allocations: 1.312 kB / 0.5571 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.508e-05/0.3808, allocations: 16.2 kB / 0.5571 GB, free: 35.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.3808, allocations: 10.66 kB / 0.5571 GB, free: 35.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.3808, allocations: 7.25 kB / 0.5571 GB, free: 35.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.18e-05/0.3809, allocations: 15.02 kB / 0.5571 GB, free: 35.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3809, allocations: 1.5 kB / 0.5571 GB, free: 35.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3809, allocations: 0 / 0.5571 GB, free: 35.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.3809, allocations: 1.344 kB / 0.5571 GB, free: 35.89 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.0002478/0.3812, allocations: 353.2 kB / 0.5575 GB, free: 35.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3812, allocations: 13.66 kB / 0.5575 GB, free: 35.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.3812, allocations: 3.156 kB / 0.5575 GB, free: 35.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.617e-05/0.3813, allocations: 164.2 kB / 0.5576 GB, free: 35.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3813, allocations: 3.062 kB / 0.5576 GB, free: 35.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.3813, allocations: 2.625 kB / 0.5577 GB, free: 35.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.3815, allocations: 63.2 kB / 0.5577 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.3815, allocations: 192 / 0.5577 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3815, allocations: 5.625 kB / 0.5577 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.3815, allocations: 5.891 kB / 0.5577 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.3816, allocations: 26.09 kB / 0.5577 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.3819, allocations: 265.1 kB / 0.558 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.548e-05/0.3819, allocations: 24.94 kB / 0.558 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.3819, allocations: 7.547 kB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-06/0.3819, allocations: 4.062 kB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.382, allocations: 31.69 kB / 0.5581 GB, free: 34.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.382, allocations: 0 / 0.5581 GB, free: 34.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.3821, allocations: 74.52 kB / 0.5581 GB, free: 34.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.3822, allocations: 77.11 kB / 0.5582 GB, free: 34.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.892e-05/0.3822, allocations: 116.2 kB / 0.5583 GB, free: 34.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.3822, allocations: 25.7 kB / 0.5583 GB, free: 34.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.3823, allocations: 104 kB / 0.5584 GB, free: 34.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.3823, allocations: 7.203 kB / 0.5585 GB, free: 34.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.3823, allocations: 28.59 kB / 0.5585 GB, free: 34.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.3824, allocations: 321.5 kB / 0.5588 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.3824, allocations: 13.45 kB / 0.5588 GB, free: 34.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.3824, allocations: 64.73 kB / 0.5589 GB, free: 34.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.543e-05/0.3825, allocations: 132.9 kB / 0.559 GB, free: 33.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3825, allocations: 1.781 kB / 0.559 GB, free: 33.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001203/0.3827, allocations: 112.4 kB / 0.5591 GB, free: 33.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3827, allocations: 32.45 kB / 0.5591 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3827, allocations: 2.219 kB / 0.5591 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3827, allocations: 2.719 kB / 0.5591 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.3828, allocations: 17.78 kB / 0.5591 GB, free: 33.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3828, allocations: 2.75 kB / 0.5591 GB, free: 33.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.3828, allocations: 8.562 kB / 0.5592 GB, free: 33.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3829, allocations: 17.61 kB / 0.5592 GB, free: 33.8 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.337e-05/0.3829, allocations: 149.9 kB / 0.5593 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.383, allocations: 3.016 kB / 0.5593 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.438e-06/0.383, allocations: 4.969 kB / 0.5593 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.383, allocations: 5.344 kB / 0.5593 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.383, allocations: 1.531 kB / 0.5593 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.383, allocations: 0 / 0.5593 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.3831, allocations: 159.5 kB / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3831, allocations: 1.312 kB / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3831, allocations: 1.406 kB / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.3831, allocations: 0 / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3831, allocations: 2.312 kB / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3831, allocations: 0 / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3831, allocations: 0.9688 kB / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.983e-05/0.3832, allocations: 166 kB / 0.5596 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.3832, allocations: 83.17 kB / 0.5597 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.3833, allocations: 2.328 kB / 0.5597 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.843e-05/0.3833, allocations: 2.656 kB / 0.5597 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.3833, allocations: 4.016 kB / 0.5597 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.3833, allocations: 1.188 kB / 0.5597 GB, free: 33.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.3834, allocations: 93.84 kB / 0.5598 GB, free: 33.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3834, allocations: 0 / 0.5598 GB, free: 33.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.3837, allocations: 13.66 kB / 0.5598 GB, free: 33.09 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.0001268/0.3838, allocations: 109.2 kB / 0.5599 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.3839, allocations: 91.67 kB / 0.56 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3839, allocations: 0 / 0.56 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.3839, allocations: 55.22 kB / 0.5601 GB, free: 32.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.3841, allocations: 4.812 kB / 0.5601 GB, free: 32.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001596/0.3843, allocations: 137.1 kB / 0.5602 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.495e-05/0.3844, allocations: 0.679 MB / 0.5609 GB, free: 32.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-06/0.3844, allocations: 10.5 kB / 0.5609 GB, free: 32.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3844, allocations: 0 / 0.5609 GB, free: 32.02 MB / 446.1 MB Notification: Performance of Templates: time 0.001925/0.3864, allocations: 0.673 MB / 0.5615 GB, free: 32.01 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)