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.738/1.738, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001033/0.001033, allocations: 180.2 kB / 371.6 MB, free: 3.398 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.973/1.973, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009846/0.0009848, allocations: 89.28 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.467e-05/5.472e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2955, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8932/1.189, allocations: 138.1 MB / 1.115 GB, free: 45.3 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/1.189, allocations: 77.42 kB / 1.115 GB, free: 45.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.001521/1.191, allocations: 0.5492 MB / 1.115 GB, free: 44.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.683e-06/1.191, allocations: 0.8438 kB / 1.115 GB, free: 44.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.783e-06/1.191, allocations: 0.5938 kB / 1.115 GB, free: 44.83 MB / 0.7448 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.0002778/1.191, allocations: 346.3 kB / 1.116 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.191, allocations: 8.719 kB / 1.116 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/1.191, allocations: 30.56 kB / 1.116 GB, free: 44.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.449e-05/1.191, allocations: 9.438 kB / 1.116 GB, free: 44.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.322e-05/1.191, allocations: 167 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/1.191, allocations: 8.203 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/1.191, allocations: 0 / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/1.191, allocations: 57.14 kB / 1.116 GB, free: 44.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/1.191, allocations: 0.5 kB / 1.116 GB, free: 44.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/1.191, allocations: 0.5938 kB / 1.116 GB, free: 44.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/1.191, allocations: 4.5 kB / 1.116 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.283e-05/1.192, allocations: 22.17 kB / 1.116 GB, free: 44.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/1.192, allocations: 266.3 kB / 1.116 GB, free: 43.85 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/1.192, allocations: 23.58 kB / 1.116 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/1.192, allocations: 13.53 kB / 1.116 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/1.192, allocations: 0.5938 kB / 1.116 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/1.192, allocations: 32.97 kB / 1.116 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/1.192, allocations: 0 / 1.116 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001568/1.192, allocations: 74.66 kB / 1.116 GB, free: 43.69 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.192, allocations: 77.11 kB / 1.116 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/1.192, allocations: 108 kB / 1.117 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/1.192, allocations: 30.64 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/1.193, allocations: 106.3 kB / 1.117 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/1.193, allocations: 0 / 1.117 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/1.193, allocations: 7.375 kB / 1.117 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.28e-05/1.193, allocations: 310.8 kB / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/1.193, allocations: 14.7 kB / 1.117 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.366e-05/1.193, allocations: 58.86 kB / 1.117 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/1.193, allocations: 43.75 kB / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.193, allocations: 4 kB / 1.117 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001927/1.193, allocations: 123.9 kB / 1.117 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/1.193, allocations: 30.64 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.193, allocations: 4 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/1.193, allocations: 5.562 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/1.193, allocations: 15.36 kB / 1.117 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/1.193, allocations: 8.812 kB / 1.117 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/1.193, allocations: 12.19 kB / 1.117 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/1.193, allocations: 4 kB / 1.117 GB, free: 42.71 MB / 0.7448 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.886e-05/1.194, allocations: 135.8 kB / 1.117 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/1.194, allocations: 7.906 kB / 1.117 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/1.194, allocations: 7.875 kB / 1.117 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/1.194, allocations: 0.6562 kB / 1.117 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.194, allocations: 0 / 1.117 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.194, allocations: 3.953 kB / 1.117 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/1.194, allocations: 152.3 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/1.194, allocations: 6.953 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-06/1.194, allocations: 0.9375 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.194, allocations: 7.938 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/1.194, allocations: 0.6562 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.194, allocations: 0 / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.194, allocations: 0 / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/1.194, allocations: 164.9 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/1.194, allocations: 77.11 kB / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/1.194, allocations: 8.031 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/1.194, allocations: 0.625 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/1.194, allocations: 5.703 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/1.194, allocations: 4 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.245e-05/1.194, allocations: 87.95 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.51e-07/1.194, allocations: 0 / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003741/1.195, allocations: 8 kB / 1.118 GB, free: 41.98 MB / 0.7448 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.0006058/1.195, allocations: 0.7135 MB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001777/1.196, allocations: 79.28 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.196, allocations: 0.6562 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/1.196, allocations: 63.23 kB / 1.119 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/1.196, allocations: 5.391 kB / 1.119 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/1.196, allocations: 114.5 kB / 1.119 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/1.197, allocations: 0.6804 MB / 1.12 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.708e-05/1.197, allocations: 13.62 kB / 1.12 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/1.197, allocations: 13.03 kB / 1.12 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/1.197, allocations: 0 / 1.12 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/1.209, allocations: 1.223 MB / 1.121 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/1.209, allocations: 169.4 kB / 1.121 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.774, allocations: 0 / 1.121 GB, free: 39.38 MB / 0.7448 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)