Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7895/0.7895, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 181.2 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 221.3 MB / 441.4 MB, free: 4.695 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008509/0.0008514, allocations: 99.38 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 282.9 kB / 0.5939 GB, free: 8.004 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.642e-05/4.644e-05, allocations: 8 kB / 0.6834 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5212, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.6528, allocations: 107.8 MB / 0.8695 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.6531, allocations: 80.61 kB / 0.8696 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001234/0.6543, allocations: 0.5572 MB / 0.8702 GB, free: 168 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6544, allocations: 0 / 0.8702 GB, free: 168 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.6544, allocations: 4.75 kB / 0.8702 GB, free: 164 kB / 0.5261 GB 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.0002883/0.6547, allocations: 340.9 kB / 0.8705 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.6547, allocations: 8.031 kB / 0.8705 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.6548, allocations: 4.625 kB / 0.8705 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.6549, allocations: 171.4 kB / 0.8707 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.6549, allocations: 3.953 kB / 0.8707 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.6549, allocations: 0.5625 kB / 0.8707 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.6551, allocations: 58.52 kB / 0.8707 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.6551, allocations: 0 / 0.8707 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.6551, allocations: 0.5 kB / 0.8707 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.6552, allocations: 11.88 kB / 0.8707 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/0.6552, allocations: 23.98 kB / 0.8708 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.6556, allocations: 264.7 kB / 0.871 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.277e-05/0.6556, allocations: 18.56 kB / 0.871 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.6557, allocations: 8.922 kB / 0.871 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.952e-06/0.6557, allocations: 0 / 0.871 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.6557, allocations: 31.72 kB / 0.8711 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.6557, allocations: 0 / 0.8711 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.000158/0.6559, allocations: 68.12 kB / 0.8711 GB, free: 15 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.6559, allocations: 77.11 kB / 0.8712 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.656, allocations: 111 kB / 0.8713 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.656, allocations: 25.7 kB / 0.8713 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.6561, allocations: 107.8 kB / 0.8714 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.6561, allocations: 4 kB / 0.8714 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.6561, allocations: 0.8438 kB / 0.8714 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6562, allocations: 318.8 kB / 0.8717 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.6563, allocations: 9.531 kB / 0.8718 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.349e-05/0.6563, allocations: 64.08 kB / 0.8718 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.122e-05/0.6564, allocations: 53.66 kB / 0.8719 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6564, allocations: 0 / 0.8719 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001357/0.6565, allocations: 115.2 kB / 0.872 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.6566, allocations: 34.95 kB / 0.872 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.6566, allocations: 4 kB / 0.872 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.6566, allocations: 4 kB / 0.872 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.6567, allocations: 19.92 kB / 0.872 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.6567, allocations: 4 kB / 0.872 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.6568, allocations: 7.938 kB / 0.8721 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.6568, allocations: 6.5 kB / 0.8721 GB, free: 13.96 MB / 0.5417 GB 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.978e-05/0.6569, allocations: 144.1 kB / 0.8722 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.6569, allocations: 11.84 kB / 0.8722 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.355e-05/0.6569, allocations: 7.641 kB / 0.8722 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.6569, allocations: 0 / 0.8722 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6569, allocations: 0 / 0.8722 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.6569, allocations: 0 / 0.8722 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.6571, allocations: 153.7 kB / 0.8724 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.6571, allocations: 0 / 0.8724 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.6571, allocations: 4 kB / 0.8724 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6571, allocations: 3.984 kB / 0.8724 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.6571, allocations: 8 kB / 0.8724 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.6571, allocations: 0 / 0.8724 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.6571, allocations: 0 / 0.8724 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.6572, allocations: 161.2 kB / 0.8725 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.6573, allocations: 81.05 kB / 0.8726 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.6573, allocations: 4 kB / 0.8726 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-05/0.6574, allocations: 4 kB / 0.8726 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.6574, allocations: 4.031 kB / 0.8726 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.6574, allocations: 4 kB / 0.8726 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.6575, allocations: 91.25 kB / 0.8727 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6575, allocations: 3.938 kB / 0.8727 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002091/0.6577, allocations: 12 kB / 0.8727 GB, free: 13.18 MB / 0.5417 GB 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.0001668/0.6579, allocations: 107.2 kB / 0.8728 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.658, allocations: 87.58 kB / 0.8729 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.658, allocations: 4.188 kB / 0.8729 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.658, allocations: 55.41 kB / 0.873 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.6582, allocations: 7.953 kB / 0.873 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001933/0.6584, allocations: 73.11 kB / 0.873 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.6587, allocations: 0.6809 MB / 0.8737 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.996e-05/0.6587, allocations: 12.17 kB / 0.8737 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.11e-05/0.6587, allocations: 11.5 kB / 0.8737 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of SimCode: time 3.7e-07/0.6587, allocations: 4 kB / 0.8737 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of Templates: time 0.002459/0.6612, allocations: 0.4898 MB / 0.8742 GB, free: 11.58 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)