Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_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.001279/0.001279, allocations: 104.1 kB / 16.27 MB, free: 5.93 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.001128/0.001128, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7504/0.7504, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3256, allocations: 77.93 MB / 0.5673 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001653/0.3273, allocations: 0.5714 MB / 0.5679 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002029/0.3275, allocations: 39.53 kB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.3275, allocations: 1.281 kB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.3276, allocations: 0 / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.049e-05/0.3276, allocations: 2.125 kB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.3278, allocations: 13.22 kB / 0.5679 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.184e-05/0.3279, allocations: 7.078 kB / 0.5679 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.328, allocations: 3.656 kB / 0.5679 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.393e-05/0.328, allocations: 1.125 kB / 0.5679 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.331e-05/0.328, allocations: 2.672 kB / 0.5679 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.3281, allocations: 3.984 kB / 0.5679 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.3282, allocations: 17.17 kB / 0.5679 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.3282, allocations: 12.23 kB / 0.568 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.3282, allocations: 7.906 kB / 0.568 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.325e-05/0.3283, allocations: 22.55 kB / 0.568 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3283, allocations: 0.9688 kB / 0.568 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3283, allocations: 0 / 0.568 GB, free: 32.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3283, allocations: 0 / 0.568 GB, free: 32.41 MB / 446.1 MB 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.0002378/0.3286, allocations: 345.6 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.3286, allocations: 15.22 kB / 0.5683 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.139e-05/0.3287, allocations: 37.66 kB / 0.5684 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.3287, allocations: 7.25 kB / 0.5684 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.618e-05/0.3287, allocations: 168.6 kB / 0.5685 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3288, allocations: 1.438 kB / 0.5685 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-06/0.3288, allocations: 2.562 kB / 0.5685 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.3289, allocations: 57.81 kB / 0.5686 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.3289, allocations: 5.469 kB / 0.5686 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.3289, allocations: 1.469 kB / 0.5686 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.3289, allocations: 7.156 kB / 0.5686 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/0.329, allocations: 28.72 kB / 0.5686 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.3292, allocations: 265.7 kB / 0.5689 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.644e-05/0.3293, allocations: 23.31 kB / 0.5689 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.3293, allocations: 7.422 kB / 0.5689 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.3293, allocations: 1.594 kB / 0.5689 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.3293, allocations: 32.69 kB / 0.569 GB, free: 31.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.3294, allocations: 0.9062 kB / 0.569 GB, free: 31.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.3295, allocations: 67.45 kB / 0.569 GB, free: 31.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.3296, allocations: 83.91 kB / 0.5691 GB, free: 31.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.312e-05/0.3296, allocations: 116 kB / 0.5692 GB, free: 31.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.3296, allocations: 26.77 kB / 0.5692 GB, free: 31.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.3297, allocations: 101.6 kB / 0.5693 GB, free: 30.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.225e-06/0.3297, allocations: 10.06 kB / 0.5693 GB, free: 30.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.3297, allocations: 22.56 kB / 0.5694 GB, free: 30.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.3298, allocations: 322 kB / 0.5697 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/0.3298, allocations: 10.64 kB / 0.5697 GB, free: 30.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.216e-05/0.3299, allocations: 64.47 kB / 0.5697 GB, free: 30.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.78e-05/0.3299, allocations: 131.8 kB / 0.5699 GB, free: 30.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.33, allocations: 0 / 0.5699 GB, free: 30.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001368/0.3301, allocations: 118.7 kB / 0.57 GB, free: 30.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.3301, allocations: 33.2 kB / 0.57 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3301, allocations: 2.219 kB / 0.57 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3302, allocations: 2.594 kB / 0.57 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.3302, allocations: 12.55 kB / 0.57 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3303, allocations: 4.406 kB / 0.57 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.3303, allocations: 16.91 kB / 0.57 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3303, allocations: 17.45 kB / 0.5701 GB, free: 30.28 MB / 446.1 MB 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 5.65e-05/0.3304, allocations: 145.5 kB / 0.5702 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.3304, allocations: 2.812 kB / 0.5702 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.135e-05/0.3305, allocations: 9.406 kB / 0.5702 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.3305, allocations: 0 / 0.5702 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3305, allocations: 2.531 kB / 0.5702 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.3305, allocations: 1.625 kB / 0.5702 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.809e-05/0.3306, allocations: 151.7 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3306, allocations: 2.594 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-07/0.3306, allocations: 4 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3306, allocations: 0.8438 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.3306, allocations: 1.219 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3306, allocations: 1.875 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3306, allocations: 0.8125 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.648e-05/0.3307, allocations: 169.9 kB / 0.5705 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.3307, allocations: 79.03 kB / 0.5706 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.3308, allocations: 11.2 kB / 0.5706 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.3308, allocations: 1.766 kB / 0.5706 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.3308, allocations: 5.125 kB / 0.5706 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3308, allocations: 4.062 kB / 0.5706 GB, free: 29.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.3309, allocations: 90.45 kB / 0.5707 GB, free: 29.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3309, allocations: 0 / 0.5707 GB, free: 29.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3311, allocations: 12.5 kB / 0.5707 GB, free: 29.57 MB / 446.1 MB 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.0002796/0.3314, allocations: 0.6983 MB / 0.5714 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.3315, allocations: 90.97 kB / 0.5715 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3316, allocations: 0 / 0.5715 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.017e-05/0.3316, allocations: 56.8 kB / 0.5716 GB, free: 28.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.3318, allocations: 2.688 kB / 0.5716 GB, free: 28.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.3321, allocations: 146.5 kB / 0.5717 GB, free: 28.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.948e-05/0.3322, allocations: 0.6769 MB / 0.5724 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.343e-05/0.3323, allocations: 13.91 kB / 0.5724 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.3323, allocations: 15.72 kB / 0.5724 GB, free: 27.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3323, allocations: 0 / 0.5724 GB, free: 27.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.3483, allocations: 1.393 MB / 0.5737 GB, free: 27.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/7.47, allocations: 24.58 kB / 0.5738 GB, free: 27.56 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)