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.001076/0.001076, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4636/0.4636, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.282/1.282, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008192/0.0008193, allocations: 105.1 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.334e-05, allocations: 8 kB / 0.4896 GB, free: 5.363 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3386, allocations: 72.29 MB / 0.5602 GB, free: 40.48 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.461, allocations: 100.7 MB / 0.6586 GB, free: 3.668 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.4613, allocations: 76.86 kB / 0.6586 GB, free: 3.594 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001193/0.4625, allocations: 0.5522 MB / 0.6592 GB, free: 3.047 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4625, allocations: 0 / 0.6592 GB, free: 3.047 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.4625, allocations: 0 / 0.6592 GB, free: 3.047 MB / 474.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.0002456/0.4628, allocations: 351.1 kB / 0.6595 GB, free: 2.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.4628, allocations: 11.98 kB / 0.6595 GB, free: 2.648 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.4629, allocations: 11.8 kB / 0.6595 GB, free: 2.637 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.77e-05/0.463, allocations: 167 kB / 0.6597 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.463, allocations: 0 / 0.6597 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.463, allocations: 3.656 kB / 0.6597 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.4631, allocations: 53.69 kB / 0.6597 GB, free: 2.375 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.4631, allocations: 0 / 0.6597 GB, free: 2.375 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.4631, allocations: 11.94 kB / 0.6597 GB, free: 2.363 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.4632, allocations: 7.984 kB / 0.6598 GB, free: 2.355 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.294e-05/0.4632, allocations: 19.95 kB / 0.6598 GB, free: 2.336 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.4635, allocations: 260.8 kB / 0.66 GB, free: 2.031 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.013e-05/0.4636, allocations: 18.58 kB / 0.66 GB, free: 2.004 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.4636, allocations: 13.67 kB / 0.6601 GB, free: 1.988 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-06/0.4636, allocations: 4.062 kB / 0.6601 GB, free: 1.984 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.4636, allocations: 38.5 kB / 0.6601 GB, free: 1.938 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4636, allocations: 0 / 0.6601 GB, free: 1.938 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001308/0.4638, allocations: 67.39 kB / 0.6602 GB, free: 1.859 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.4638, allocations: 77.11 kB / 0.6602 GB, free: 1.766 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.874e-05/0.4639, allocations: 105 kB / 0.6603 GB, free: 1.656 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.4639, allocations: 25.7 kB / 0.6604 GB, free: 1.625 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.464, allocations: 99.8 kB / 0.6605 GB, free: 1.523 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.548e-06/0.464, allocations: 12.02 kB / 0.6605 GB, free: 1.512 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/0.464, allocations: 0 / 0.6605 GB, free: 1.512 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4641, allocations: 318.8 kB / 0.6608 GB, free: 1.191 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.4642, allocations: 15.98 kB / 0.6608 GB, free: 1.176 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.4642, allocations: 58.8 kB / 0.6608 GB, free: 1.094 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.4643, allocations: 45.69 kB / 0.6609 GB, free: 1.043 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4643, allocations: 0 / 0.6609 GB, free: 1.043 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001513/0.4645, allocations: 123.2 kB / 0.661 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.4645, allocations: 33.66 kB / 0.661 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4645, allocations: 4 kB / 0.661 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.4645, allocations: 0 / 0.661 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.4646, allocations: 12 kB / 0.661 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.4646, allocations: 4 kB / 0.661 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.4647, allocations: 20.64 kB / 0.6611 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4647, allocations: 4 kB / 0.6611 GB, free: 0.8281 MB / 474.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.678e-05/0.4648, allocations: 138.8 kB / 0.6612 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.4648, allocations: 3.938 kB / 0.6612 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.4649, allocations: 15.61 kB / 0.6612 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.4649, allocations: 0 / 0.6612 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4649, allocations: 0 / 0.6612 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4649, allocations: 0 / 0.6612 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.465, allocations: 149.7 kB / 0.6614 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.465, allocations: 4.875 kB / 0.6614 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.4651, allocations: 0 / 0.6614 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4651, allocations: 0 / 0.6614 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.4651, allocations: 4 kB / 0.6614 GB, free: 472 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4651, allocations: 7.953 kB / 0.6614 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4651, allocations: 0 / 0.6614 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.4652, allocations: 165.2 kB / 0.6615 GB, free: 276 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.4653, allocations: 81.02 kB / 0.6616 GB, free: 176 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.4653, allocations: 0 / 0.6616 GB, free: 176 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.208e-05/0.4654, allocations: 7.984 kB / 0.6616 GB, free: 168 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.4654, allocations: 6.391 kB / 0.6616 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.4654, allocations: 4.031 kB / 0.6616 GB, free: 160 kB / 474.7 MB Notification: Performance of sorting global known variables: time 4.178e-05/0.4654, allocations: 90.56 kB / 0.6617 GB, free: 72 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4654, allocations: 0 / 0.6617 GB, free: 72 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.4657, allocations: 12 kB / 0.6617 GB, free: 60 kB / 474.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001544/0.4658, allocations: 107.2 kB / 0.6618 GB, free: 15.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.466, allocations: 87.78 kB / 0.6619 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.466, allocations: 4.062 kB / 0.6619 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.134e-05/0.466, allocations: 59.39 kB / 0.662 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.4661, allocations: 3.938 kB / 0.662 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001646/0.4663, allocations: 86.53 kB / 0.6621 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.4666, allocations: 0.6809 MB / 0.6627 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.4666, allocations: 8.172 kB / 0.6627 GB, free: 14.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.161e-05/0.4666, allocations: 15.5 kB / 0.6628 GB, free: 14.93 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4666, allocations: 0 / 0.6628 GB, free: 14.93 MB / 490.7 MB Notification: Performance of Templates: time 0.002106/0.4687, allocations: 491.8 kB / 0.6632 GB, free: 14.46 MB / 490.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)