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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 90.34 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005352/0.0005352, allocations: 20.03 kB / 0.6738 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2625, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007996/0.2634, allocations: 319.6 kB / 0.7877 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002312/0.2636, allocations: 39.91 kB / 0.7878 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.2637, allocations: 0 / 0.7878 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.2637, allocations: 4 kB / 0.7878 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.743e-05/0.2638, allocations: 0 / 0.7878 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.264, allocations: 15.94 kB / 0.7878 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.451e-05/0.264, allocations: 3.984 kB / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.021e-05/0.2641, allocations: 7.984 kB / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.2641, allocations: 0 / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.743e-05/0.2642, allocations: 7.984 kB / 0.7878 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.2642, allocations: 0 / 0.7878 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.784e-05/0.2643, allocations: 15.98 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.2643, allocations: 8 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.2644, allocations: 37.58 kB / 0.7878 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.564e-05/0.2645, allocations: 11.98 kB / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2645, allocations: 0 / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2645, allocations: 0 / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2645, allocations: 0 / 0.7879 GB, free: 11.39 MB / 0.6075 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.0003794/0.2649, allocations: 345.1 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.2649, allocations: 12.03 kB / 0.7882 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.984e-05/0.265, allocations: 34.55 kB / 0.7882 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.265, allocations: 3.906 kB / 0.7882 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.2652, allocations: 167.2 kB / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.2652, allocations: 12 kB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.2652, allocations: 3.938 kB / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.2655, allocations: 53.69 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2655, allocations: 3.938 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.2655, allocations: 0 / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.2656, allocations: 11.98 kB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.27e-05/0.2656, allocations: 19.98 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.266, allocations: 268.8 kB / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.534e-05/0.2661, allocations: 22.58 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.2661, allocations: 8.844 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.2661, allocations: 0 / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.2661, allocations: 34.5 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2662, allocations: 64 / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001924/0.2664, allocations: 71.36 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.2664, allocations: 81.23 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2665, allocations: 113.8 kB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.2665, allocations: 29.7 kB / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.2666, allocations: 99.8 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.375e-06/0.2666, allocations: 3.906 kB / 0.7892 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.2666, allocations: 8 kB / 0.7892 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2668, allocations: 314.8 kB / 0.7895 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.2668, allocations: 8 kB / 0.7895 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.2669, allocations: 66.8 kB / 0.7896 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.556e-05/0.2669, allocations: 49.69 kB / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2669, allocations: 0 / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001527/0.2671, allocations: 123.2 kB / 0.7897 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.2671, allocations: 29.7 kB / 0.7898 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.2672, allocations: 4.469 kB / 0.7898 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2672, allocations: 0 / 0.7898 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.2673, allocations: 15.98 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.2673, allocations: 8.141 kB / 0.7898 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.435e-05/0.2674, allocations: 19.84 kB / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.2674, allocations: 7.938 kB / 0.7898 GB, free: 9.09 MB / 0.6075 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 9.862e-05/0.2675, allocations: 144.2 kB / 0.79 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.2675, allocations: 4 kB / 0.79 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.521e-05/0.2675, allocations: 3.531 kB / 0.79 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2676, allocations: 0 / 0.79 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2676, allocations: 3.938 kB / 0.79 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2676, allocations: 3.953 kB / 0.79 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2677, allocations: 161.7 kB / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2677, allocations: 0 / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-06/0.2677, allocations: 0 / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2678, allocations: 0 / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2678, allocations: 0 / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2678, allocations: 0 / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2678, allocations: 3.984 kB / 0.7901 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.2679, allocations: 169.1 kB / 0.7903 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.268, allocations: 89.05 kB / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.268, allocations: 0 / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.802e-05/0.2681, allocations: 0 / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.2681, allocations: 7.984 kB / 0.7904 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.2681, allocations: 4 kB / 0.7904 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.818e-05/0.2682, allocations: 87.28 kB / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2682, allocations: 0 / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002373/0.2684, allocations: 8 kB / 0.7905 GB, free: 8.305 MB / 0.6075 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.0005414/0.269, allocations: 0.7141 MB / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.2691, allocations: 83.33 kB / 0.7913 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2691, allocations: 0 / 0.7913 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/0.2692, allocations: 59.94 kB / 0.7913 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.2694, allocations: 8.062 kB / 0.7913 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.27, allocations: 148.4 kB / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.2703, allocations: 0.6809 MB / 0.7921 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.612e-05/0.2704, allocations: 12.17 kB / 0.7921 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.2704, allocations: 7.438 kB / 0.7921 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2704, allocations: 0 / 0.7921 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.283, allocations: 1.216 MB / 0.7933 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.2833, allocations: 203.9 kB / 0.7935 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.201, allocations: 4 kB / 0.7935 GB, free: 5.168 MB / 0.6075 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) Environment - environmentSimulation: