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.001524/0.001524, allocations: 104.2 kB / 15.98 MB, free: 6.352 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.001712/0.001712, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8042/0.8042, allocations: 122.9 MB / 413.6 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.89 kB / 0.4906 GB, free: 7.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4484, allocations: 77.92 MB / 0.5667 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002306/0.4507, allocations: 0.6426 MB / 0.5673 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000259/0.451, allocations: 34.94 kB / 0.5674 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.942e-05/0.4511, allocations: 0 / 0.5674 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.4511, allocations: 4.5 kB / 0.5674 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.4512, allocations: 1.875 kB / 0.5674 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.4514, allocations: 13.73 kB / 0.5674 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.512e-05/0.4515, allocations: 8.188 kB / 0.5674 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.4516, allocations: 2.031 kB / 0.5674 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.4516, allocations: 1.125 kB / 0.5674 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.814e-05/0.4516, allocations: 7.797 kB / 0.5674 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.4517, allocations: 3.938 kB / 0.5674 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.4518, allocations: 17.44 kB / 0.5674 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.4518, allocations: 8.641 kB / 0.5674 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.4519, allocations: 9.469 kB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.452, allocations: 19.25 kB / 0.5675 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.452, allocations: 0 / 0.5675 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.452, allocations: 2.531 kB / 0.5675 GB, free: 32.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.4521, allocations: 0 / 0.5675 GB, free: 32.32 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.0002968/0.4524, allocations: 353.5 kB / 0.5678 GB, free: 31.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.4524, allocations: 9.969 kB / 0.5678 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.4525, allocations: 5.969 kB / 0.5678 GB, free: 31.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.728e-05/0.4525, allocations: 170 kB / 0.568 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.4526, allocations: 2.688 kB / 0.568 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.4526, allocations: 1.344 kB / 0.568 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.4528, allocations: 58.72 kB / 0.568 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4528, allocations: 1.969 kB / 0.568 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4528, allocations: 4.656 kB / 0.568 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.4528, allocations: 11.59 kB / 0.568 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.463e-05/0.4529, allocations: 27.23 kB / 0.5681 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.4533, allocations: 262.9 kB / 0.5683 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.302e-05/0.4534, allocations: 22.34 kB / 0.5683 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.4534, allocations: 8.438 kB / 0.5684 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.4534, allocations: 0 / 0.5684 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.4535, allocations: 38.02 kB / 0.5684 GB, free: 31.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.4535, allocations: 0 / 0.5684 GB, free: 31.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002086/0.4537, allocations: 69.02 kB / 0.5685 GB, free: 31.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.4537, allocations: 79.89 kB / 0.5685 GB, free: 31.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.4538, allocations: 120.3 kB / 0.5686 GB, free: 31.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.4539, allocations: 25.7 kB / 0.5687 GB, free: 31.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.4539, allocations: 97.06 kB / 0.5688 GB, free: 30.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.4539, allocations: 9.594 kB / 0.5688 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.454, allocations: 29.11 kB / 0.5688 GB, free: 30.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.454, allocations: 317.1 kB / 0.5691 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.926e-05/0.4541, allocations: 10.7 kB / 0.5691 GB, free: 30.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.874e-05/0.4542, allocations: 58.27 kB / 0.5692 GB, free: 30.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.4543, allocations: 133.5 kB / 0.5693 GB, free: 30.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4543, allocations: 1.156 kB / 0.5693 GB, free: 30.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002098/0.4545, allocations: 121.9 kB / 0.5694 GB, free: 30.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.4546, allocations: 32.08 kB / 0.5694 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4546, allocations: 7.625 kB / 0.5694 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4546, allocations: 2.562 kB / 0.5695 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.4547, allocations: 13.38 kB / 0.5695 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4548, allocations: 7.672 kB / 0.5695 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.4549, allocations: 7.906 kB / 0.5695 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.4549, allocations: 9.203 kB / 0.5695 GB, free: 30.23 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 7.493e-05/0.455, allocations: 153.7 kB / 0.5696 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.455, allocations: 3.25 kB / 0.5696 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.598e-05/0.4551, allocations: 5.266 kB / 0.5696 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4551, allocations: 0.5625 kB / 0.5696 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4551, allocations: 1.312 kB / 0.5696 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4551, allocations: 0 / 0.5696 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.4553, allocations: 166.7 kB / 0.5698 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4553, allocations: 0 / 0.5698 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-06/0.4553, allocations: 1.312 kB / 0.5698 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4553, allocations: 2.688 kB / 0.5698 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.4553, allocations: 1.094 kB / 0.5698 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.4553, allocations: 0.7969 kB / 0.5698 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4553, allocations: 1.125 kB / 0.5698 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.4555, allocations: 173.3 kB / 0.57 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.4555, allocations: 80.78 kB / 0.5701 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.4556, allocations: 1.094 kB / 0.5701 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.4557, allocations: 1.703 kB / 0.5701 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.4557, allocations: 1.781 kB / 0.5701 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.4557, allocations: 2.828 kB / 0.5701 GB, free: 29.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.355e-05/0.4558, allocations: 91.06 kB / 0.5701 GB, free: 29.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4558, allocations: 0 / 0.5701 GB, free: 29.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004506/0.4562, allocations: 14.66 kB / 0.5702 GB, free: 29.52 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.0001841/0.4564, allocations: 107.9 kB / 0.5703 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.4566, allocations: 84.02 kB / 0.5703 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4567, allocations: 0 / 0.5703 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.4567, allocations: 55.22 kB / 0.5704 GB, free: 29.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.457, allocations: 8.375 kB / 0.5704 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.4573, allocations: 104.6 kB / 0.5705 GB, free: 29.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.4575, allocations: 0.6781 MB / 0.5712 GB, free: 28.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.4577, allocations: 17.08 kB / 0.5712 GB, free: 28.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.264e-05/0.4577, allocations: 10.16 kB / 0.5712 GB, free: 28.48 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4577, allocations: 0 / 0.5712 GB, free: 28.48 MB / 446.1 MB Notification: Performance of Templates: time 0.003502/0.4612, allocations: 0.5166 MB / 0.5717 GB, free: 28.43 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)