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.001434/0.001434, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 187.7 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.654/1.654, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001635/0.001635, allocations: 73.19 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2185, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001863/0.2204, allocations: 0.5859 MB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002297/0.2206, allocations: 35.88 kB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.2207, allocations: 4 kB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.2207, allocations: 0 / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.899e-05/0.2207, allocations: 0 / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.2209, allocations: 11.98 kB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.964e-05/0.221, allocations: 7.984 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.2211, allocations: 0 / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.2211, allocations: 4 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.218e-05/0.2211, allocations: 7.984 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.2212, allocations: 7.938 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.2212, allocations: 15.98 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.2213, allocations: 7.938 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.2213, allocations: 3.938 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.864e-05/0.2214, allocations: 19.97 kB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2214, allocations: 4 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2214, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2214, allocations: 0 / 0.7843 GB, free: 12.5 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.0003513/0.2218, allocations: 357.2 kB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2218, allocations: 8.031 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.2219, allocations: 38.75 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.2219, allocations: 8.781 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.222, allocations: 168.6 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.222, allocations: 384 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.2221, allocations: 4.375 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.2222, allocations: 66.17 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2222, allocations: 3.938 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.2222, allocations: 3.984 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.2223, allocations: 4 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.2224, allocations: 27.98 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.2227, allocations: 264.8 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.2228, allocations: 18.58 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.2228, allocations: 16.86 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-06/0.2228, allocations: 0 / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.2229, allocations: 34.56 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.2229, allocations: 4 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001797/0.223, allocations: 67.39 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.2231, allocations: 77.11 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.2232, allocations: 113.8 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2232, allocations: 25.7 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.2233, allocations: 103.8 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.317e-06/0.2233, allocations: 7.906 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.2233, allocations: 21.72 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2235, allocations: 322.9 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.2235, allocations: 15.92 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.83e-05/0.2236, allocations: 63.23 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.2237, allocations: 126.1 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2237, allocations: 4 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001401/0.2238, allocations: 119.2 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.2239, allocations: 29.7 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2239, allocations: 4 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2239, allocations: 4 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.224, allocations: 15.92 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.224, allocations: 4.156 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.2241, allocations: 11.84 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.2241, allocations: 8.188 kB / 0.7864 GB, free: 10.05 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.2242, allocations: 151.5 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.2242, allocations: 3.938 kB / 0.7866 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.379e-05/0.2242, allocations: 3.531 kB / 0.7866 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2242, allocations: 4 kB / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2243, allocations: 7.875 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2243, allocations: 0 / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.2244, allocations: 157.6 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2244, allocations: 0 / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2244, allocations: 0 / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.2244, allocations: 4 kB / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2245, allocations: 0 / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2245, allocations: 7.984 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2245, allocations: 0 / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.2246, allocations: 169.1 kB / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.2246, allocations: 77.11 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.2246, allocations: 0 / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.2247, allocations: 8.031 kB / 0.787 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.2247, allocations: 3.984 kB / 0.787 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.2247, allocations: 0 / 0.787 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.2248, allocations: 91.22 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2248, allocations: 0 / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000252/0.225, allocations: 12 kB / 0.7871 GB, free: 9.254 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003947/0.2254, allocations: 0.7063 MB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.2256, allocations: 87.33 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2256, allocations: 0 / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.2256, allocations: 55.41 kB / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.2259, allocations: 3.938 kB / 0.7879 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.2262, allocations: 159 kB / 0.7881 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.2265, allocations: 0.6807 MB / 0.7887 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.2266, allocations: 7.984 kB / 0.7887 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.2266, allocations: 11.44 kB / 0.7887 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2266, allocations: 0 / 0.7887 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.2431, allocations: 1.432 MB / 0.7901 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.593, allocations: 2.875 kB / 0.7902 GB, free: 6.105 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)