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.001104/0.001104, allocations: 108 kB / 15.6 MB, free: 132 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.0011/0.0011, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.323/1.323, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.771/1.771, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001905/0.001905, allocations: 75.91 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2889, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001891/0.2908, allocations: 0.5979 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002339/0.2911, allocations: 35.88 kB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.2911, allocations: 0 / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.2912, allocations: 0 / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.417e-05/0.2912, allocations: 4 kB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.2914, allocations: 11.92 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.2915, allocations: 15.98 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.2916, allocations: 0 / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.2916, allocations: 3.984 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.456e-05/0.2916, allocations: 4 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.2916, allocations: 0 / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.2917, allocations: 15.98 kB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.974e-05/0.2918, allocations: 11.94 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.2918, allocations: 3.938 kB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.2919, allocations: 19.97 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2919, allocations: 0 / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2919, allocations: 0 / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2919, allocations: 4 kB / 0.7842 GB, free: 12.65 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.0003547/0.2923, allocations: 357.2 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2923, allocations: 8.031 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.2924, allocations: 34.75 kB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.2924, allocations: 8.844 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2925, allocations: 168.6 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.2925, allocations: 384 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.2926, allocations: 4.312 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.2927, allocations: 54.25 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2927, allocations: 11.94 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.2927, allocations: 3.938 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.2928, allocations: 7.984 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.2928, allocations: 23.98 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.2931, allocations: 264.8 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.142e-05/0.2932, allocations: 26.52 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.2932, allocations: 8.922 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.2932, allocations: 4 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.2933, allocations: 30.56 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2933, allocations: 0 / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001722/0.2934, allocations: 71.39 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.2935, allocations: 77.11 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.2936, allocations: 117.8 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.2936, allocations: 25.7 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.2937, allocations: 107.9 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.648e-06/0.2937, allocations: 7.891 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.2937, allocations: 21.8 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2939, allocations: 314.8 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.2939, allocations: 19.97 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.294, allocations: 62.86 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.2941, allocations: 130.1 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2941, allocations: 0 / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000135/0.2942, allocations: 115.2 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.2943, allocations: 33.64 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2943, allocations: 8 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2943, allocations: 256 / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.2944, allocations: 19.98 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2944, allocations: 4 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.2945, allocations: 19.78 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.2945, allocations: 7.938 kB / 0.7863 GB, free: 10.19 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.725e-05/0.2946, allocations: 140.1 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.2946, allocations: 7.984 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.502e-05/0.2946, allocations: 7.531 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2946, allocations: 0 / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2946, allocations: 0 / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.2947, allocations: 7.984 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.2948, allocations: 157.6 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.2948, allocations: 0 / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2948, allocations: 0 / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.2948, allocations: 0 / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.2948, allocations: 0 / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2948, allocations: 0 / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2948, allocations: 0 / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.295, allocations: 177 kB / 0.7867 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.295, allocations: 81.11 kB / 0.7868 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.2951, allocations: 0 / 0.7868 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.033e-05/0.2951, allocations: 0 / 0.7868 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.2951, allocations: 7.938 kB / 0.7868 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2951, allocations: 4 kB / 0.7868 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.38e-05/0.2952, allocations: 91.2 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2952, allocations: 0 / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002339/0.2954, allocations: 8 kB / 0.7869 GB, free: 9.402 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.0004592/0.2959, allocations: 0.7064 MB / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.2961, allocations: 87.33 kB / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2961, allocations: 0.5312 kB / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.2961, allocations: 63.34 kB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.2963, allocations: 2.656 kB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.2967, allocations: 154.4 kB / 0.7879 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.297, allocations: 0.6768 MB / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.988e-05/0.2971, allocations: 11.98 kB / 0.7886 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.2971, allocations: 15.5 kB / 0.7886 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of SimCode: time 2.375e-06/0.2971, allocations: 0 / 0.7886 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.3168, allocations: 1.41 MB / 0.79 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.51, allocations: 10.41 kB / 0.79 GB, free: 6.254 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)