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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001092, allocations: 179.9 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.4927/0.4927, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.301/1.301, allocations: 221.3 MB / 348.3 MB, free: 436 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.000924/0.0009241, allocations: 105.3 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.43e-05, allocations: 4 kB / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3474, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.4627, allocations: 100.7 MB / 0.6586 GB, free: 3.625 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.463, allocations: 75.95 kB / 0.6587 GB, free: 3.551 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001339/0.4644, allocations: 0.556 MB / 0.6592 GB, free: 3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4644, allocations: 0 / 0.6592 GB, free: 3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.4644, allocations: 1.188 kB / 0.6593 GB, free: 3 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.0002855/0.4647, allocations: 352.1 kB / 0.6596 GB, free: 2.605 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4648, allocations: 19.73 kB / 0.6596 GB, free: 2.59 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.4648, allocations: 34.56 kB / 0.6596 GB, free: 2.547 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.4648, allocations: 8.703 kB / 0.6596 GB, free: 2.539 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.888e-05/0.4649, allocations: 167 kB / 0.6598 GB, free: 2.336 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.4649, allocations: 0 / 0.6598 GB, free: 2.336 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.4649, allocations: 0 / 0.6598 GB, free: 2.336 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.4651, allocations: 53.69 kB / 0.6599 GB, free: 2.277 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4651, allocations: 0 / 0.6599 GB, free: 2.277 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.4651, allocations: 0 / 0.6599 GB, free: 2.277 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.4651, allocations: 5.781 kB / 0.6599 GB, free: 2.273 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.122e-05/0.4652, allocations: 35.88 kB / 0.6599 GB, free: 2.238 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.4655, allocations: 263.1 kB / 0.6601 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.955e-05/0.4656, allocations: 22.53 kB / 0.6602 GB, free: 1.902 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.4656, allocations: 8.922 kB / 0.6602 GB, free: 1.891 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.4656, allocations: 4 kB / 0.6602 GB, free: 1.887 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.4656, allocations: 30.56 kB / 0.6602 GB, free: 1.848 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.4656, allocations: 0 / 0.6602 GB, free: 1.848 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001359/0.4658, allocations: 63.34 kB / 0.6603 GB, free: 1.773 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.4658, allocations: 77.11 kB / 0.6603 GB, free: 1.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.4659, allocations: 111.9 kB / 0.6605 GB, free: 1.566 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.4659, allocations: 25.7 kB / 0.6605 GB, free: 1.535 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.466, allocations: 110.3 kB / 0.6606 GB, free: 1.426 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/0.466, allocations: 3.906 kB / 0.6606 GB, free: 1.422 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.466, allocations: 4 kB / 0.6606 GB, free: 1.418 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.4661, allocations: 314.8 kB / 0.6609 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.4661, allocations: 11.98 kB / 0.6609 GB, free: 1.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.915e-05/0.4662, allocations: 58.88 kB / 0.661 GB, free: 1.008 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.014e-05/0.4662, allocations: 53.62 kB / 0.661 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4662, allocations: 0 / 0.661 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001429/0.4664, allocations: 119.1 kB / 0.6611 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4664, allocations: 29.7 kB / 0.6611 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4664, allocations: 4 kB / 0.6612 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4665, allocations: 4 kB / 0.6612 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.4665, allocations: 12.23 kB / 0.6612 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4666, allocations: 8 kB / 0.6612 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.4666, allocations: 11.84 kB / 0.6612 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.4666, allocations: 7.938 kB / 0.6612 GB, free: 0.7383 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 7.92e-05/0.4667, allocations: 138.6 kB / 0.6613 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.4668, allocations: 7.953 kB / 0.6613 GB, free: 0.582 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.529e-05/0.4668, allocations: 7.641 kB / 0.6613 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4668, allocations: 0 / 0.6613 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4668, allocations: 0 / 0.6613 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4668, allocations: 0 / 0.6613 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.4669, allocations: 157.7 kB / 0.6615 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.467, allocations: 0 / 0.6615 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-07/0.467, allocations: 4 kB / 0.6615 GB, free: 376 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.467, allocations: 0 / 0.6615 GB, free: 376 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.467, allocations: 7.953 kB / 0.6615 GB, free: 368 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.467, allocations: 1.219 kB / 0.6615 GB, free: 368 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.467, allocations: 3.984 kB / 0.6615 GB, free: 364 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.4671, allocations: 161.2 kB / 0.6617 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.4672, allocations: 88.98 kB / 0.6617 GB, free: 72 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.4672, allocations: 4 kB / 0.6618 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-05/0.4672, allocations: 3.953 kB / 0.6618 GB, free: 64 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.4673, allocations: 0 / 0.6618 GB, free: 64 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.4673, allocations: 4 kB / 0.6618 GB, free: 60 kB / 474.7 MB Notification: Performance of sorting global known variables: time 6.449e-05/0.4673, allocations: 91.27 kB / 0.6618 GB, free: 15.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4673, allocations: 0 / 0.6618 GB, free: 15.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.4676, allocations: 8 kB / 0.6619 GB, free: 15.96 MB / 490.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.0004014/0.468, allocations: 0.7016 MB / 0.6625 GB, free: 15.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.4681, allocations: 87.27 kB / 0.6626 GB, free: 15.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4681, allocations: 1.5 kB / 0.6626 GB, free: 15.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.743e-05/0.4682, allocations: 55.94 kB / 0.6627 GB, free: 15.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.4683, allocations: 17.88 kB / 0.6627 GB, free: 15.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.4686, allocations: 118.3 kB / 0.6628 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.4688, allocations: 0.6778 MB / 0.6635 GB, free: 14.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.621e-05/0.4689, allocations: 12.17 kB / 0.6635 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.4689, allocations: 11.44 kB / 0.6635 GB, free: 14.16 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4689, allocations: 0 / 0.6635 GB, free: 14.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.4801, allocations: 1.219 MB / 0.6647 GB, free: 13.12 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.4803, allocations: 159.4 kB / 0.6648 GB, free: 12.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.367/1.848, allocations: 4 kB / 0.6648 GB, free: 12.9 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)