Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.673/2.673, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001683/0.001682, allocations: 178.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001719/0.001718, allocations: 86.91 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006638/0.000664, allocations: 13.92 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2317, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007361/0.2325, allocations: 321.8 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002021/0.2327, allocations: 41.62 kB / 0.9786 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.2327, allocations: 0 / 0.9786 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.2328, allocations: 4 kB / 0.9786 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/0.2328, allocations: 0 / 0.9786 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.233, allocations: 8 kB / 0.9786 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.763e-05/0.233, allocations: 3.984 kB / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.2331, allocations: 4 kB / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.2331, allocations: 0 / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.796e-05/0.2332, allocations: 4 kB / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.2332, allocations: 0 / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.2333, allocations: 11.98 kB / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.2333, allocations: 7.938 kB / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.2334, allocations: 29.7 kB / 0.9787 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.244e-05/0.2334, allocations: 19.97 kB / 0.9787 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2334, allocations: 0 / 0.9787 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2335, allocations: 0 / 0.9787 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2335, allocations: 0 / 0.9787 GB, free: 27.81 MB / 0.6198 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.000272/0.2338, allocations: 353.1 kB / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2338, allocations: 12.02 kB / 0.9791 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.2338, allocations: 38.55 kB / 0.9791 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.2339, allocations: 7.906 kB / 0.9791 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.005e-05/0.234, allocations: 171.2 kB / 0.9793 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.234, allocations: 0 / 0.9793 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.234, allocations: 4 kB / 0.9793 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.2342, allocations: 57.62 kB / 0.9793 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2342, allocations: 3.938 kB / 0.9793 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.2342, allocations: 0 / 0.9793 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.2342, allocations: 7.984 kB / 0.9794 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.577e-05/0.2343, allocations: 23.98 kB / 0.9794 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.2347, allocations: 272.8 kB / 0.9796 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.045e-05/0.2347, allocations: 22.52 kB / 0.9797 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.2347, allocations: 0 / 0.9797 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.2348, allocations: 34.55 kB / 0.9797 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.2348, allocations: 4.062 kB / 0.9797 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001841/0.235, allocations: 67.36 kB / 0.9798 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.235, allocations: 77.11 kB / 0.9798 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.2351, allocations: 118 kB / 0.9799 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.2351, allocations: 29.7 kB / 0.98 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.2352, allocations: 99.8 kB / 0.9801 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.2352, allocations: 7.906 kB / 0.9801 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.2352, allocations: 0 / 0.9801 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.2353, allocations: 318.8 kB / 0.9804 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.2353, allocations: 11.94 kB / 0.9804 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.2354, allocations: 58.86 kB / 0.9804 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.808e-05/0.2355, allocations: 45.69 kB / 0.9805 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2355, allocations: 0 / 0.9805 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001771/0.2357, allocations: 119.2 kB / 0.9806 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.2357, allocations: 35.11 kB / 0.9806 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.2357, allocations: 4 kB / 0.9806 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2357, allocations: 0 / 0.9806 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2359, allocations: 19.94 kB / 0.9807 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.2359, allocations: 3.938 kB / 0.9807 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.236, allocations: 24.09 kB / 0.9807 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.236, allocations: 7.938 kB / 0.9807 GB, free: 25.51 MB / 0.6198 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 () * Number of clocked 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.954e-05/0.2361, allocations: 139.5 kB / 0.9808 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.2361, allocations: 4 kB / 0.9808 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.512e-05/0.2362, allocations: 7.516 kB / 0.9808 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2362, allocations: 0 / 0.9808 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2362, allocations: 3.953 kB / 0.9808 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2362, allocations: 0 / 0.9808 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.2363, allocations: 153.7 kB / 0.981 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2363, allocations: 0 / 0.981 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.2364, allocations: 4 kB / 0.981 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2364, allocations: 0 / 0.981 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.2364, allocations: 0 / 0.981 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.2364, allocations: 0 / 0.981 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2364, allocations: 0 / 0.981 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.2365, allocations: 177.1 kB / 0.9812 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.2366, allocations: 85.02 kB / 0.9812 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.2366, allocations: 4.031 kB / 0.9812 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.2367, allocations: 4 kB / 0.9813 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.2367, allocations: 0 / 0.9813 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-06/0.2367, allocations: 4 kB / 0.9813 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.2368, allocations: 91.72 kB / 0.9813 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2368, allocations: 0 / 0.9813 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003245/0.2371, allocations: 15.95 kB / 0.9814 GB, free: 24.73 MB / 0.6198 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 () * Number of clocked 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.0003645/0.2375, allocations: 0.7063 MB / 0.982 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.2377, allocations: 83.33 kB / 0.9821 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2377, allocations: 0 / 0.9821 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.942e-05/0.2377, allocations: 55.41 kB / 0.9822 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.2379, allocations: 7.406 kB / 0.9822 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.2383, allocations: 144.3 kB / 0.9823 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2385, allocations: 0.6809 MB / 0.983 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.952e-05/0.2386, allocations: 8.172 kB / 0.983 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.2386, allocations: 15.44 kB / 0.983 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2386, allocations: 0 / 0.983 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.2604, allocations: 1.217 MB / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.2608, allocations: 198.1 kB / 0.9844 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/2.61, allocations: 3 kB / 0.9844 GB, free: 21.63 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)