Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.0008322/0.0008322, allocations: 79.69 kB / 19.25 MB, free: 0.6211 MB / 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.000996/0.000996, allocations: 166.3 kB / 22.56 MB, free: 1.961 MB / 18.57 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 0.9274/0.9274, allocations: 177.1 MB / 202.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5591/0.5591, allocations: 110.2 MB / 369.6 MB, free: 12.6 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.5475 GB, free: 8.602 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.25e-05, allocations: 5.094 kB / 0.5475 GB, free: 8.598 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001262/0.001284, allocations: 0.5918 MB / 0.5481 GB, free: 8.004 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001986/0.001483, allocations: 27.89 kB / 0.5481 GB, free: 7.977 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.001506, allocations: 4 kB / 0.5481 GB, free: 7.973 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.001536, allocations: 4 kB / 0.5482 GB, free: 7.969 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.001574, allocations: 0 / 0.5482 GB, free: 7.969 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.001779, allocations: 11.98 kB / 0.5482 GB, free: 7.957 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.536e-05/0.001854, allocations: 8 kB / 0.5482 GB, free: 7.949 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.001912, allocations: 7.969 kB / 0.5482 GB, free: 7.941 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.001951, allocations: 8 kB / 0.5482 GB, free: 7.934 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.001998, allocations: 3.938 kB / 0.5482 GB, free: 7.93 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.002011, allocations: 0 / 0.5482 GB, free: 7.93 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.002084, allocations: 19.98 kB / 0.5482 GB, free: 7.91 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.002114, allocations: 7.984 kB / 0.5482 GB, free: 7.902 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.002134, allocations: 0 / 0.5482 GB, free: 7.902 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.002238, allocations: 23.92 kB / 0.5482 GB, free: 7.879 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.002243, allocations: 7.938 kB / 0.5482 GB, free: 7.871 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.002244, allocations: 0 / 0.5482 GB, free: 7.871 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.002249, allocations: 0 / 0.5482 GB, free: 7.871 MB / 474.7 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.0002739/0.002523, allocations: 280 kB / 0.5485 GB, free: 7.559 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.002562, allocations: 12.03 kB / 0.5485 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.624e-05/0.002588, allocations: 38.73 kB / 0.5486 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.00261, allocations: 0.9375 kB / 0.5486 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.485e-05/0.002665, allocations: 109.8 kB / 0.5487 GB, free: 7.367 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.002674, allocations: 384 / 0.5487 GB, free: 7.367 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.002684, allocations: 384 / 0.5487 GB, free: 7.367 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.002805, allocations: 83.95 kB / 0.5487 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.002815, allocations: 192 / 0.5487 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.002829, allocations: 384 / 0.5487 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.002852, allocations: 8.125 kB / 0.5488 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.427e-05/0.002897, allocations: 57.61 kB / 0.5488 GB, free: 7.203 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.003169, allocations: 239.8 kB / 0.549 GB, free: 6.926 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.003214, allocations: 44.28 kB / 0.5491 GB, free: 6.867 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.003233, allocations: 30.56 kB / 0.5491 GB, free: 6.828 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-06/0.003239, allocations: 4 kB / 0.5491 GB, free: 6.824 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.003261, allocations: 34.62 kB / 0.5491 GB, free: 6.781 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.003262, allocations: 0 / 0.5491 GB, free: 6.781 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.003417, allocations: 122.7 kB / 0.5493 GB, free: 6.637 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.003452, allocations: 81.11 kB / 0.5493 GB, free: 6.539 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.003517, allocations: 121.8 kB / 0.5495 GB, free: 6.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.003526, allocations: 25.7 kB / 0.5495 GB, free: 6.379 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.003569, allocations: 108 kB / 0.5496 GB, free: 6.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-06/0.003576, allocations: 3.953 kB / 0.5496 GB, free: 6.266 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.003604, allocations: 21.84 kB / 0.5496 GB, free: 6.238 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.605e-05/0.00368, allocations: 326.8 kB / 0.5499 GB, free: 5.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.003706, allocations: 33.7 kB / 0.55 GB, free: 5.871 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.003757, allocations: 88.5 kB / 0.55 GB, free: 5.754 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.555e-05/0.003832, allocations: 126.2 kB / 0.5502 GB, free: 5.594 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.003836, allocations: 8 kB / 0.5502 GB, free: 5.586 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001092/0.003945, allocations: 148.9 kB / 0.5503 GB, free: 5.422 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.003973, allocations: 29.7 kB / 0.5503 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.003979, allocations: 4 kB / 0.5503 GB, free: 5.383 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.003993, allocations: 4 kB / 0.5503 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.663e-05/0.004049, allocations: 8 kB / 0.5504 GB, free: 5.371 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.004057, allocations: 8.188 kB / 0.5504 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.004112, allocations: 19.83 kB / 0.5504 GB, free: 5.344 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.004125, allocations: 7.984 kB / 0.5504 GB, free: 5.336 MB / 474.7 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 6.534e-05/0.00419, allocations: 147.5 kB / 0.5505 GB, free: 5.176 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.004204, allocations: 0 / 0.5505 GB, free: 5.176 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.034e-05/0.004214, allocations: 7.469 kB / 0.5505 GB, free: 5.168 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.004216, allocations: 0 / 0.5505 GB, free: 5.168 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.00422, allocations: 0 / 0.5505 GB, free: 5.168 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.004225, allocations: 3.984 kB / 0.5505 GB, free: 5.164 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.303e-05/0.004318, allocations: 124.7 kB / 0.5507 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004318, allocations: 0 / 0.5507 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.00432, allocations: 8 kB / 0.5507 GB, free: 4.992 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.004322, allocations: 3.984 kB / 0.5507 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.00433, allocations: 4 kB / 0.5507 GB, free: 4.984 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.004332, allocations: 3.984 kB / 0.5507 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004333, allocations: 0 / 0.5507 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.968e-05/0.004422, allocations: 194.8 kB / 0.5509 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.004431, allocations: 7.984 kB / 0.5509 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.00444, allocations: 0 / 0.5509 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.644e-05/0.004476, allocations: 0 / 0.5509 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.004491, allocations: 4 kB / 0.5509 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.004495, allocations: 4.031 kB / 0.5509 GB, free: 4.746 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.128e-05/0.004526, allocations: 91.27 kB / 0.551 GB, free: 4.656 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004526, allocations: 0 / 0.551 GB, free: 4.656 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.004701, allocations: 8 kB / 0.551 GB, free: 4.648 MB / 474.7 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.0003161/0.005017, allocations: 0.7274 MB / 0.5517 GB, free: 3.883 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.005145, allocations: 138.7 kB / 0.5518 GB, free: 3.723 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.005147, allocations: 0.5312 kB / 0.5518 GB, free: 3.723 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.005173, allocations: 89.11 kB / 0.5519 GB, free: 3.617 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.005322, allocations: 4 kB / 0.5519 GB, free: 3.613 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.005639, allocations: 168.2 kB / 0.5521 GB, free: 3.402 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.997e-05/0.005689, allocations: 63.34 kB / 0.5521 GB, free: 3.32 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.74e-05/0.005757, allocations: 11.98 kB / 0.5521 GB, free: 3.309 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.005783, allocations: 12.44 kB / 0.5521 GB, free: 3.297 MB / 474.7 MB Notification: Performance of SimCode: time 6.51e-07/0.005783, allocations: 0 / 0.5521 GB, free: 3.297 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.02448, allocations: 2.101 MB / 0.5542 GB, free: 1.336 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.214/7.239, allocations: 4.812 kB / 0.5542 GB, free: 1.336 MB / 474.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.821827030740678] Failed to read output from testmodel.py, exit status != 0: 7.319727215915918 7.331731538 7.327814635 Calling exit ...