Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 215.3 kB / 23.02 MB, free: 2.973 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.983/1.983, allocations: 0.5046 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009077/0.0009077, allocations: 71.83 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7009, allocations: 180 MB / 1.352 GB, free: 1.625 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001494/0.7024, allocations: 0.5923 MB / 1.353 GB, free: 1.035 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0002253/0.7026, allocations: 31.89 kB / 1.353 GB, free: 1.004 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.7026, allocations: 0 / 1.353 GB, free: 1.004 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.7026, allocations: 0 / 1.353 GB, free: 1.004 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 3.52e-05/0.7027, allocations: 0 / 1.353 GB, free: 1.004 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.7029, allocations: 15.92 kB / 1.353 GB, free: 0.9883 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 7.135e-05/0.703, allocations: 12 kB / 1.353 GB, free: 0.9766 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.703, allocations: 3.984 kB / 1.353 GB, free: 0.9727 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 1.957e-05/0.703, allocations: 7.938 kB / 1.353 GB, free: 0.9648 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.7031, allocations: 0 / 1.353 GB, free: 0.9648 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.7031, allocations: 0 / 1.353 GB, free: 0.9648 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 7.327e-05/0.7031, allocations: 15.98 kB / 1.353 GB, free: 0.9492 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.7032, allocations: 7.984 kB / 1.353 GB, free: 0.9414 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.7032, allocations: 7.875 kB / 1.353 GB, free: 0.9336 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.7033, allocations: 26.22 kB / 1.353 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7033, allocations: 3.938 kB / 1.353 GB, free: 0.9062 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7033, allocations: 4 kB / 1.353 GB, free: 0.9023 MB / 1.026 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.7033, allocations: 0 / 1.353 GB, free: 0.9023 MB / 1.026 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.0002855/0.7036, allocations: 276 kB / 1.353 GB, free: 0.5938 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.7036, allocations: 12.92 kB / 1.353 GB, free: 0.582 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.7037, allocations: 34.75 kB / 1.354 GB, free: 0.5391 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.7037, allocations: 4.922 kB / 1.354 GB, free: 0.5352 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.153e-05/0.7038, allocations: 113.6 kB / 1.354 GB, free: 412 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.7038, allocations: 4.312 kB / 1.354 GB, free: 408 kB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.7038, allocations: 4.375 kB / 1.354 GB, free: 404 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.7039, allocations: 83.94 kB / 1.354 GB, free: 308 kB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.7039, allocations: 7.922 kB / 1.354 GB, free: 300 kB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.7039, allocations: 4 kB / 1.354 GB, free: 296 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.7039, allocations: 4 kB / 1.354 GB, free: 292 kB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.396e-05/0.704, allocations: 49.69 kB / 1.354 GB, free: 236 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.7046, allocations: 235.9 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.644e-05/0.7046, allocations: 48.22 kB / 1.354 GB, free: 15.89 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.7046, allocations: 34.55 kB / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.7046, allocations: 0 / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.7047, allocations: 34.62 kB / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.7047, allocations: 0 / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0001719/0.7048, allocations: 122.9 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.7049, allocations: 89.05 kB / 1.354 GB, free: 15.56 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.705, allocations: 113.8 kB / 1.354 GB, free: 15.44 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.705, allocations: 25.7 kB / 1.354 GB, free: 15.41 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.705, allocations: 107.9 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-06/0.705, allocations: 3.984 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.7051, allocations: 21.72 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.7051, allocations: 322.8 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.7052, allocations: 33.69 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.606e-05/0.7052, allocations: 92.62 kB / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.7053, allocations: 138.1 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7053, allocations: 0 / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001329/0.7054, allocations: 153 kB / 1.355 GB, free: 14.44 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.7055, allocations: 33.7 kB / 1.355 GB, free: 14.4 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7055, allocations: 3.938 kB / 1.355 GB, free: 14.4 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.7055, allocations: 4 kB / 1.355 GB, free: 14.39 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.7056, allocations: 11.98 kB / 1.355 GB, free: 14.38 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.7056, allocations: 4 kB / 1.355 GB, free: 14.38 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.92e-05/0.7056, allocations: 7.938 kB / 1.355 GB, free: 14.37 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.7056, allocations: 7.938 kB / 1.355 GB, free: 14.36 MB / 1.042 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 7.062e-05/0.7057, allocations: 152 kB / 1.355 GB, free: 14.2 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.7057, allocations: 4.047 kB / 1.355 GB, free: 14.2 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.241e-05/0.7057, allocations: 11.47 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.7057, allocations: 0 / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7057, allocations: 0 / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.7057, allocations: 0 / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.7059, allocations: 132.6 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.7059, allocations: 0 / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.7059, allocations: 0 / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.7059, allocations: 0 / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.7059, allocations: 4 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.7059, allocations: 4 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7059, allocations: 0 / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.788e-05/0.706, allocations: 194.9 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.706, allocations: 4 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.706, allocations: 0 / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.855e-05/0.706, allocations: 3.938 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.7061, allocations: 7.984 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.7061, allocations: 0 / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.7061, allocations: 91.69 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7061, allocations: 0 / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002497/0.7063, allocations: 8 kB / 1.356 GB, free: 13.67 MB / 1.042 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.0003434/0.7067, allocations: 0.7354 MB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.7068, allocations: 138.7 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7068, allocations: 0 / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.7069, allocations: 81.11 kB / 1.357 GB, free: 12.64 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.7071, allocations: 7.984 kB / 1.357 GB, free: 12.63 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.7074, allocations: 164.3 kB / 1.357 GB, free: 12.43 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.914e-05/0.7075, allocations: 71.73 kB / 1.357 GB, free: 12.34 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.686e-05/0.7075, allocations: 15.73 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.7075, allocations: 19.42 kB / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of SimCode: time 2.91e-07/0.7075, allocations: 0 / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/0.8298, allocations: 1.942 MB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/7.718, allocations: 11.55 kB / 1.359 GB, free: 10.5 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.622092361561954]