Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.702/1.702, allocations: 289.9 MB / 297.4 MB, free: 6.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 184.9 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009019/0.0009019, allocations: 85.7 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.495e-05, allocations: 8 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7995/0.7995, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/1.015, allocations: 137.5 MB / 1.108 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/1.015, allocations: 80.5 kB / 1.108 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001735/1.017, allocations: 0.5461 MB / 1.108 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.918e-06/1.017, allocations: 4 kB / 1.108 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.357e-06/1.017, allocations: 0 / 1.108 GB, free: 12.02 MB / 0.7136 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.0004053/1.017, allocations: 344.8 kB / 1.109 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.39e-05/1.017, allocations: 12.03 kB / 1.109 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/1.018, allocations: 4.5 kB / 1.109 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/1.018, allocations: 171 kB / 1.109 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/1.018, allocations: 0.5 kB / 1.109 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/1.018, allocations: 4.531 kB / 1.109 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001164/1.018, allocations: 20 kB / 1.109 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/1.018, allocations: 54.27 kB / 1.109 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.018, allocations: 4.812 kB / 1.109 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/1.018, allocations: 0 / 1.109 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/1.018, allocations: 15.86 kB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/1.019, allocations: 240.3 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.571e-05/1.019, allocations: 18.56 kB / 1.109 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/1.019, allocations: 13.73 kB / 1.109 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-06/1.019, allocations: 0 / 1.109 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/1.019, allocations: 32.31 kB / 1.109 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/1.019, allocations: 0 / 1.109 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0002326/1.019, allocations: 41.55 kB / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/1.019, allocations: 78.42 kB / 1.109 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/1.019, allocations: 107.2 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/1.019, allocations: 26.23 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/1.019, allocations: 104.6 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.886e-06/1.019, allocations: 7.906 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/1.019, allocations: 0.5625 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.019, allocations: 319.8 kB / 1.11 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/1.019, allocations: 8 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.008e-05/1.02, allocations: 56.86 kB / 1.11 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.324e-05/1.02, allocations: 30.36 kB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.02, allocations: 0 / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001817/1.02, allocations: 78.83 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/1.02, allocations: 33.09 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.02, allocations: 5.312 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.02, allocations: 4 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.544e-05/1.02, allocations: 11.98 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/1.02, allocations: 4.531 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.307e-05/1.02, allocations: 11.62 kB / 1.11 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/1.02, allocations: 4 kB / 1.11 GB, free: 9.996 MB / 0.7136 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 0.0001207/1.02, allocations: 138.6 kB / 1.11 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001273/1.02, allocations: 47.41 kB / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/1.02, allocations: 4 kB / 1.11 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/1.02, allocations: 3.969 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/1.02, allocations: 0 / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.02, allocations: 0 / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.021, allocations: 12.33 kB / 1.11 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/1.021, allocations: 130.2 kB / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.021, allocations: 0 / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-06/1.021, allocations: 1.062 kB / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.021, allocations: 0 / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/1.021, allocations: 0 / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/1.021, allocations: 7.844 kB / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.021, allocations: 0 / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/1.021, allocations: 139.5 kB / 1.11 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/1.021, allocations: 81.02 kB / 1.111 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/1.021, allocations: 5.875 kB / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.707e-05/1.021, allocations: 0 / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/1.021, allocations: 0 / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/1.021, allocations: 10.69 kB / 1.111 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.627e-05/1.021, allocations: 83.27 kB / 1.111 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/1.021, allocations: 0 / 1.111 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002655/1.021, allocations: 12 kB / 1.111 GB, free: 9.254 MB / 0.7136 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.000531/1.022, allocations: 0.6814 MB / 1.111 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001424/1.022, allocations: 83.33 kB / 1.111 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.022, allocations: 0 / 1.111 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/1.022, allocations: 55.41 kB / 1.111 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/1.022, allocations: 8.172 kB / 1.111 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/1.023, allocations: 108.8 kB / 1.112 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/1.023, allocations: 0.678 MB / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.237e-05/1.023, allocations: 13.42 kB / 1.112 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/1.023, allocations: 11.44 kB / 1.112 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/1.023, allocations: 4 kB / 1.112 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/1.046, allocations: 0.9125 MB / 1.113 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/1.046, allocations: 160 kB / 1.113 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.674, allocations: 0 / 1.113 GB, free: 6.445 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)