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.64/1.64, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 177.3 kB / 326.6 MB, free: 2.238 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.761/1.761, allocations: 205.4 MB / 0.5776 GB, free: 20.27 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.0007862/0.0007861, allocations: 73.7 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003429, allocations: 16.16 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.234, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007097/0.2348, allocations: 330 kB / 0.9006 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001926/0.235, allocations: 33.28 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.235, allocations: 3.938 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.235, allocations: 0 / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.497e-05/0.2351, allocations: 3.938 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.2352, allocations: 15.98 kB / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.674e-05/0.2352, allocations: 0 / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.2353, allocations: 4 kB / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.792e-05/0.2353, allocations: 0 / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.58e-05/0.2353, allocations: 8 kB / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.2354, allocations: 0 / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.888e-05/0.2354, allocations: 15.98 kB / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.2355, allocations: 3.984 kB / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.2355, allocations: 33.64 kB / 0.9007 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.795e-05/0.2356, allocations: 11.97 kB / 0.9008 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2356, allocations: 11.94 kB / 0.9008 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2356, allocations: 0 / 0.9008 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2356, allocations: 0 / 0.9008 GB, free: 63.34 MB / 0.6042 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.0002061/0.2358, allocations: 346 kB / 0.9011 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2358, allocations: 12.03 kB / 0.9011 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.543e-05/0.2359, allocations: 30.56 kB / 0.9011 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.179e-05/0.2359, allocations: 0 / 0.9011 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.359e-05/0.236, allocations: 163 kB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.236, allocations: 4 kB / 0.9013 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.236, allocations: 0 / 0.9013 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.85e-05/0.2361, allocations: 61.62 kB / 0.9014 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-06/0.2361, allocations: 0 / 0.9014 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.2361, allocations: 0 / 0.9014 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.2361, allocations: 11.98 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.2362, allocations: 23.98 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.2364, allocations: 273 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.523e-05/0.2365, allocations: 18.58 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.2365, allocations: 8.859 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-06/0.2365, allocations: 3.938 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.2365, allocations: 34.56 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.2365, allocations: 0 / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.2367, allocations: 75.34 kB / 0.9018 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.2367, allocations: 77.11 kB / 0.9019 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.537e-05/0.2368, allocations: 117.8 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.2368, allocations: 29.83 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.2368, allocations: 103.8 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.2368, allocations: 0 / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.2368, allocations: 8 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.2369, allocations: 310.8 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.2369, allocations: 19.92 kB / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.644e-05/0.237, allocations: 54.88 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.51e-05/0.237, allocations: 41.69 kB / 0.9025 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.237, allocations: 0 / 0.9025 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001149/0.2371, allocations: 123.2 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.2372, allocations: 37.69 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2372, allocations: 7.984 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2372, allocations: 3.953 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.2373, allocations: 12 kB / 0.9027 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2373, allocations: 3.938 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/0.2373, allocations: 11.91 kB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2373, allocations: 4.25 kB / 0.9027 GB, free: 61.06 MB / 0.6042 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 5.432e-05/0.2374, allocations: 151.5 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.2374, allocations: 7.938 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.137e-06/0.2374, allocations: 3.531 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2375, allocations: 0 / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.2375, allocations: 3.953 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-06/0.2375, allocations: 0 / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.438e-05/0.2376, allocations: 153.7 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2376, allocations: 4 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2376, allocations: 0 / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2376, allocations: 4 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.2376, allocations: 0 / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2376, allocations: 0 / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2376, allocations: 3.984 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.435e-05/0.2377, allocations: 169.1 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.2377, allocations: 81.11 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.2377, allocations: 7.984 kB / 0.9033 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.553e-05/0.2378, allocations: 7.969 kB / 0.9033 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-06/0.2378, allocations: 0 / 0.9033 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.2378, allocations: 4 kB / 0.9033 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.791e-05/0.2378, allocations: 95.22 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2378, allocations: 0 / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002314/0.2381, allocations: 12 kB / 0.9034 GB, free: 60.25 MB / 0.6042 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.0002694/0.2384, allocations: 0.7082 MB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.883e-05/0.2384, allocations: 87.33 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.2385, allocations: 0 / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.2385, allocations: 55.41 kB / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.2387, allocations: 7.188 kB / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.2389, allocations: 148.8 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.239, allocations: 0.6809 MB / 0.905 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.786e-05/0.2391, allocations: 11.92 kB / 0.905 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.36e-05/0.2391, allocations: 15.42 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2391, allocations: 0 / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.2493, allocations: 1.225 MB / 0.9063 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.2495, allocations: 232.1 kB / 0.9065 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/1.731, allocations: 4 kB / 0.9065 GB, free: 57.12 MB / 0.6042 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)