Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.529/1.529, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009949/0.0009948, allocations: 188.8 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 95.81 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.99e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2325, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7958/1.028, allocations: 131.1 MB / 1.013 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/1.029, allocations: 75.94 kB / 1.013 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00141/1.03, allocations: 0.5524 MB / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/1.03, allocations: 0 / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.712e-06/1.03, allocations: 0 / 1.014 GB, free: 5.965 MB / 0.6355 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.0003285/1.03, allocations: 342.8 kB / 1.014 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.03, allocations: 12.03 kB / 1.014 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/1.031, allocations: 0 / 1.014 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/1.031, allocations: 174.9 kB / 1.014 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/1.031, allocations: 4 kB / 1.014 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/1.031, allocations: 4 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.382e-05/1.031, allocations: 15.56 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.22e-05/1.031, allocations: 56.86 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/1.031, allocations: 0 / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/1.031, allocations: 4 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/1.031, allocations: 4 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/1.031, allocations: 248.5 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.043e-05/1.031, allocations: 22.52 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/1.031, allocations: 8.922 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/1.031, allocations: 0 / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.031, allocations: 33.62 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/1.031, allocations: 0 / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000169/1.032, allocations: 33.7 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1.032, allocations: 81.06 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/1.032, allocations: 118.4 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/1.032, allocations: 25.7 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/1.032, allocations: 107.2 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/1.032, allocations: 0 / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/1.032, allocations: 0 / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/1.032, allocations: 315.4 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/1.032, allocations: 12.02 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/1.032, allocations: 61.91 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/1.032, allocations: 18.11 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.032, allocations: 4 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001214/1.032, allocations: 84.58 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/1.032, allocations: 33.7 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.032, allocations: 0 / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.032, allocations: 4 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/1.032, allocations: 15.92 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/1.032, allocations: 4 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/1.032, allocations: 22.73 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/1.032, allocations: 7.828 kB / 1.016 GB, free: 3.949 MB / 0.6355 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.739e-05/1.033, allocations: 130.7 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.299e-05/1.033, allocations: 44.94 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/1.033, allocations: 11.89 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.653e-05/1.033, allocations: 7.922 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/1.033, allocations: 0 / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.033, allocations: 7.953 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1.033, allocations: 0 / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/1.033, allocations: 137.7 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/1.033, allocations: 0 / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/1.033, allocations: 0 / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/1.033, allocations: 0 / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/1.033, allocations: 0 / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/1.033, allocations: 0 / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.033, allocations: 0 / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/1.033, allocations: 142.9 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/1.033, allocations: 81.14 kB / 1.016 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/1.033, allocations: 4.875 kB / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/1.033, allocations: 0 / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/1.033, allocations: 0 / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-06/1.033, allocations: 4 kB / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.784e-05/1.033, allocations: 87.02 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.4e-07/1.033, allocations: 0 / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002254/1.033, allocations: 12 kB / 1.016 GB, free: 3.211 MB / 0.6355 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.0004112/1.034, allocations: 0.6767 MB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001171/1.034, allocations: 82.64 kB / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.034, allocations: 0 / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/1.034, allocations: 55.41 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/1.034, allocations: 4.531 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/1.034, allocations: 116.5 kB / 1.017 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/1.035, allocations: 0.6768 MB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.997e-05/1.035, allocations: 12.17 kB / 1.018 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/1.035, allocations: 10.12 kB / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of SimCode: time 2.8e-07/1.035, allocations: 4 kB / 1.018 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/1.052, allocations: 0.9188 MB / 1.019 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/1.052, allocations: 166 kB / 1.019 GB, free: 388 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.359/2.411, allocations: 4 kB / 1.019 GB, free: 384 kB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)