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.0007866/0.0007866, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008613/0.0008613, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9052/0.9052, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.5762/0.5762, allocations: 110.2 MB / 369.4 MB, free: 12.61 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.914e-06/1.914e-06, allocations: 0 / 0.5473 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.248e-05, allocations: 6.219 kB / 0.5473 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00122/0.001242, allocations: 0.5932 MB / 0.5479 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000209/0.001451, allocations: 39.88 kB / 0.5479 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.001476, allocations: 0 / 0.5479 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.00151, allocations: 0 / 0.5479 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.001549, allocations: 7.984 kB / 0.548 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.001758, allocations: 7.984 kB / 0.548 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.675e-05/0.001835, allocations: 8 kB / 0.548 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.001875, allocations: 0 / 0.548 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.737e-05/0.001913, allocations: 4 kB / 0.548 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.001958, allocations: 3.984 kB / 0.548 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.001974, allocations: 0 / 0.548 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.265e-05/0.002046, allocations: 19.92 kB / 0.548 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.002081, allocations: 7.938 kB / 0.548 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.002101, allocations: 0 / 0.548 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.002204, allocations: 39.89 kB / 0.548 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.002206, allocations: 0 / 0.548 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002207, allocations: 0 / 0.548 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.002212, allocations: 0 / 0.548 GB, free: 9.074 MB / 0.5105 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.0002776/0.002489, allocations: 276.1 kB / 0.5483 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.00253, allocations: 8.625 kB / 0.5483 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.65e-05/0.002557, allocations: 34.75 kB / 0.5483 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.002582, allocations: 4.938 kB / 0.5484 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.889e-05/0.002641, allocations: 101.8 kB / 0.5484 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.002651, allocations: 384 / 0.5484 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-06/0.002659, allocations: 8.312 kB / 0.5485 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.002787, allocations: 87.94 kB / 0.5485 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.002796, allocations: 4.125 kB / 0.5485 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.002803, allocations: 384 / 0.5485 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.002828, allocations: 12.06 kB / 0.5486 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.444e-05/0.002872, allocations: 49.69 kB / 0.5486 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.003154, allocations: 243.8 kB / 0.5488 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.072e-05/0.003204, allocations: 48.27 kB / 0.5489 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.003224, allocations: 30.56 kB / 0.5489 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.003231, allocations: 3.984 kB / 0.5489 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.003253, allocations: 42.56 kB / 0.549 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.003254, allocations: 4 kB / 0.549 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001744/0.003428, allocations: 118.8 kB / 0.5491 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.003461, allocations: 77.11 kB / 0.5491 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.003532, allocations: 117.8 kB / 0.5493 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.178e-06/0.003542, allocations: 25.7 kB / 0.5493 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.003583, allocations: 103.9 kB / 0.5494 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.163e-06/0.00359, allocations: 7.953 kB / 0.5494 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.003623, allocations: 21.72 kB / 0.5494 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.003703, allocations: 318.8 kB / 0.5497 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.003732, allocations: 37.69 kB / 0.5498 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.074e-05/0.003782, allocations: 104.9 kB / 0.5499 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.515e-05/0.003857, allocations: 122.2 kB / 0.55 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00386, allocations: 0 / 0.55 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001064/0.003966, allocations: 148.9 kB / 0.5501 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.003995, allocations: 33.7 kB / 0.5501 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.004, allocations: 0 / 0.5501 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.004016, allocations: 7.984 kB / 0.5501 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.004083, allocations: 11.94 kB / 0.5502 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.004091, allocations: 4 kB / 0.5502 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.004149, allocations: 11.89 kB / 0.5502 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.004163, allocations: 4 kB / 0.5502 GB, free: 6.543 MB / 0.5105 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.227e-05/0.004236, allocations: 159.7 kB / 0.5503 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.004249, allocations: 0 / 0.5503 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.367e-05/0.004263, allocations: 7.469 kB / 0.5503 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.004265, allocations: 0 / 0.5503 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.00427, allocations: 3.938 kB / 0.5503 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.004272, allocations: 0 / 0.5503 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.004373, allocations: 132.6 kB / 0.5505 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.004374, allocations: 0 / 0.5505 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-06/0.004376, allocations: 3.938 kB / 0.5505 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.004377, allocations: 4 kB / 0.5505 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.004384, allocations: 0 / 0.5505 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.004385, allocations: 4 kB / 0.5505 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.004386, allocations: 0 / 0.5505 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.004487, allocations: 190.9 kB / 0.5507 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.004493, allocations: 7.938 kB / 0.5507 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-06/0.004502, allocations: 0 / 0.5507 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.00454, allocations: 7.984 kB / 0.5507 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.004551, allocations: 0 / 0.5507 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.004555, allocations: 0 / 0.5507 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.09e-05/0.004586, allocations: 87.28 kB / 0.5508 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.004586, allocations: 0 / 0.5508 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001641/0.00475, allocations: 20.02 kB / 0.5508 GB, free: 5.836 MB / 0.5105 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.0003456/0.005096, allocations: 0.7314 MB / 0.5515 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.005227, allocations: 138.7 kB / 0.5516 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.005229, allocations: 4 kB / 0.5516 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.42e-05/0.005263, allocations: 85.09 kB / 0.5517 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.005425, allocations: 0.5938 kB / 0.5517 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.005745, allocations: 172.1 kB / 0.5519 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.685e-05/0.005792, allocations: 63.34 kB / 0.5519 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.563e-05/0.005888, allocations: 15.97 kB / 0.552 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.005914, allocations: 12.5 kB / 0.552 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of SimCode: time 7.22e-07/0.005914, allocations: 0 / 0.552 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.02293, allocations: 2.097 MB / 0.554 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.729, allocations: 6.641 kB / 0.554 GB, free: 2.531 MB / 0.5105 GB " [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.371583253145218] Failed to read output from testmodel.py, exit status != 0: 6.808982631191611 6.818467276 6.814377267 Calling exit ...