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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4723/0.4723, allocations: 87.5 MB / 104.9 MB, free: 12.99 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 349.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 112.6 kB / 420 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 55.92 kB / 0.4891 GB, free: 7.668 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3165, allocations: 70.06 MB / 0.5575 GB, free: 44.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001626/0.3181, allocations: 0.6315 MB / 0.5581 GB, free: 44.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002465/0.3184, allocations: 42.69 kB / 0.5582 GB, free: 44.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.3184, allocations: 0 / 0.5582 GB, free: 44.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.3185, allocations: 1.062 kB / 0.5582 GB, free: 44.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.405e-05/0.3185, allocations: 1.031 kB / 0.5582 GB, free: 44.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.3186, allocations: 7.219 kB / 0.5582 GB, free: 44.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.39e-05/0.3187, allocations: 6.266 kB / 0.5582 GB, free: 44.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.3187, allocations: 10.03 kB / 0.5582 GB, free: 44.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.3188, allocations: 9.062 kB / 0.5582 GB, free: 44.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.891e-05/0.3188, allocations: 2.031 kB / 0.5582 GB, free: 44.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.3188, allocations: 0 / 0.5582 GB, free: 44.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.284e-05/0.3189, allocations: 20.39 kB / 0.5582 GB, free: 44.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.3189, allocations: 3.406 kB / 0.5582 GB, free: 44.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.319, allocations: 3.938 kB / 0.5582 GB, free: 44.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.978e-05/0.3191, allocations: 33.33 kB / 0.5583 GB, free: 44.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.3191, allocations: 1.219 kB / 0.5583 GB, free: 44.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3191, allocations: 0 / 0.5583 GB, free: 44.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.3191, allocations: 3.938 kB / 0.5583 GB, free: 44.28 MB / 410.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.0002944/0.3194, allocations: 354.3 kB / 0.5586 GB, free: 43.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3194, allocations: 8.656 kB / 0.5586 GB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.3195, allocations: 6.312 kB / 0.5586 GB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.285e-05/0.3195, allocations: 162.5 kB / 0.5588 GB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3196, allocations: 1.844 kB / 0.5588 GB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.3196, allocations: 1.188 kB / 0.5588 GB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.3197, allocations: 55.34 kB / 0.5588 GB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3197, allocations: 192 / 0.5588 GB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3198, allocations: 3.938 kB / 0.5588 GB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.3198, allocations: 13.7 kB / 0.5588 GB, free: 43.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/0.3198, allocations: 28.11 kB / 0.5589 GB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.3201, allocations: 257.9 kB / 0.5591 GB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.909e-05/0.3202, allocations: 29.34 kB / 0.5591 GB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.3202, allocations: 7.078 kB / 0.5591 GB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-06/0.3202, allocations: 0 / 0.5591 GB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.3202, allocations: 35.59 kB / 0.5592 GB, free: 43.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.3202, allocations: 0 / 0.5592 GB, free: 43.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001586/0.3204, allocations: 73.39 kB / 0.5592 GB, free: 43.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.3204, allocations: 78.17 kB / 0.5593 GB, free: 43.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.3205, allocations: 118.8 kB / 0.5594 GB, free: 42.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.3206, allocations: 25.7 kB / 0.5595 GB, free: 42.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.3206, allocations: 103.5 kB / 0.5596 GB, free: 42.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.3206, allocations: 9.016 kB / 0.5596 GB, free: 42.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.3206, allocations: 30.31 kB / 0.5596 GB, free: 42.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.3207, allocations: 314.8 kB / 0.5599 GB, free: 42.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.529e-05/0.3207, allocations: 14.73 kB / 0.5599 GB, free: 42.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.3208, allocations: 57.77 kB / 0.56 GB, free: 42.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.394e-05/0.3209, allocations: 133.9 kB / 0.5601 GB, free: 42.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3209, allocations: 4 kB / 0.5601 GB, free: 42.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001089/0.321, allocations: 119.2 kB / 0.5602 GB, free: 42.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.321, allocations: 35.58 kB / 0.5602 GB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.321, allocations: 0 / 0.5602 GB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.321, allocations: 4 kB / 0.5603 GB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.3211, allocations: 15.98 kB / 0.5603 GB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3211, allocations: 3.938 kB / 0.5603 GB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/0.3212, allocations: 16.09 kB / 0.5603 GB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.3212, allocations: 12 kB / 0.5603 GB, free: 42.02 MB / 410.7 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.983e-05/0.3213, allocations: 139.5 kB / 0.5604 GB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.3213, allocations: 4 kB / 0.5604 GB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.184e-05/0.3213, allocations: 7.516 kB / 0.5604 GB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3213, allocations: 0 / 0.5604 GB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3213, allocations: 0 / 0.5604 GB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3214, allocations: 0 / 0.5604 GB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.3215, allocations: 157.6 kB / 0.5606 GB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3215, allocations: 0 / 0.5606 GB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3215, allocations: 8 kB / 0.5606 GB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.3215, allocations: 0 / 0.5606 GB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.3215, allocations: 0 / 0.5606 GB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3215, allocations: 0 / 0.5606 GB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3215, allocations: 0 / 0.5606 GB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.3217, allocations: 0.7178 MB / 0.5613 GB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.3217, allocations: 77.11 kB / 0.5614 GB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.3218, allocations: 3.938 kB / 0.5614 GB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.3218, allocations: 7.938 kB / 0.5614 GB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.3219, allocations: 3.938 kB / 0.5614 GB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.3219, allocations: 0 / 0.5614 GB, free: 40.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.572e-05/0.3219, allocations: 91.27 kB / 0.5615 GB, free: 40.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3219, allocations: 0 / 0.5615 GB, free: 40.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.3223, allocations: 12 kB / 0.5615 GB, free: 40.66 MB / 410.7 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.000121/0.3224, allocations: 107.2 kB / 0.5616 GB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.008e-05/0.3225, allocations: 83.33 kB / 0.5617 GB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3225, allocations: 4 kB / 0.5617 GB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.875e-05/0.3225, allocations: 63.39 kB / 0.5617 GB, free: 40.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.3227, allocations: 0 / 0.5617 GB, free: 40.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/0.3229, allocations: 216.5 kB / 0.5619 GB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.323, allocations: 0.677 MB / 0.5626 GB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.722e-05/0.3231, allocations: 15.92 kB / 0.5626 GB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-06/0.3231, allocations: 11.44 kB / 0.5626 GB, free: 39.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3231, allocations: 0 / 0.5626 GB, free: 39.39 MB / 410.7 MB Notification: Performance of Templates: time 0.002249/0.3254, allocations: 0.5058 MB / 0.5631 GB, free: 38.89 MB / 410.7 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)