Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007546/0.0007546, 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.0007739/0.0007739, 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.8856/0.8856, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001512/0.001512, allocations: 233.8 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6723/0.6723, allocations: 138.4 MB / 454.3 MB, free: 29.97 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.6463 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.201e-05, allocations: 6.219 kB / 0.6464 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001319/0.001341, allocations: 0.5851 MB / 0.6469 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002212/0.001562, allocations: 43.83 kB / 0.647 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.001584, allocations: 0 / 0.647 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.001613, allocations: 0 / 0.647 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.082e-05/0.001654, allocations: 3.984 kB / 0.647 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.001863, allocations: 15.94 kB / 0.647 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.127e-05/0.001945, allocations: 7.969 kB / 0.647 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.001987, allocations: 4 kB / 0.647 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.061e-05/0.002028, allocations: 0 / 0.647 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.002067, allocations: 0 / 0.647 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.002083, allocations: 0 / 0.647 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.002152, allocations: 27.97 kB / 0.647 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.002187, allocations: 7.938 kB / 0.647 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.002209, allocations: 4 kB / 0.647 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.336e-05/0.002302, allocations: 19.97 kB / 0.6471 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.002305, allocations: 3.984 kB / 0.6471 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.392e-06/0.002306, allocations: 0 / 0.6471 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.00231, allocations: 4 kB / 0.6471 GB, free: 1.094 MB / 0.5573 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.0002494/0.002559, allocations: 272.1 kB / 0.6473 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.002597, allocations: 9.938 kB / 0.6473 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.002623, allocations: 38.73 kB / 0.6474 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.002645, allocations: 8.891 kB / 0.6474 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.366e-05/0.002699, allocations: 109.7 kB / 0.6475 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.00271, allocations: 4.375 kB / 0.6475 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.002717, allocations: 384 / 0.6475 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.002832, allocations: 84.66 kB / 0.6476 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.002838, allocations: 4.125 kB / 0.6476 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.002846, allocations: 384 / 0.6476 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.002871, allocations: 20.05 kB / 0.6476 GB, free: 484 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.002913, allocations: 49.69 kB / 0.6476 GB, free: 428 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.003187, allocations: 224 kB / 0.6479 GB, free: 160 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/0.003235, allocations: 52.22 kB / 0.6479 GB, free: 92 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.003253, allocations: 38.62 kB / 0.6479 GB, free: 44 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-06/0.003259, allocations: 0 / 0.6479 GB, free: 44 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.00328, allocations: 34.55 kB / 0.648 GB, free: 0 / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.003281, allocations: 0 / 0.648 GB, free: 0 / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.2409/0.2442, allocations: 118.2 kB / 0.6481 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.2442, allocations: 78.42 kB / 0.6482 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.2443, allocations: 119.9 kB / 0.6483 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.2443, allocations: 25.7 kB / 0.6483 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.2443, allocations: 104.1 kB / 0.6484 GB, free: 56.61 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.012e-06/0.2443, allocations: 8.328 kB / 0.6484 GB, free: 56.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.2443, allocations: 22.22 kB / 0.6484 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.776e-05/0.2444, allocations: 321.2 kB / 0.6487 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.2444, allocations: 38.3 kB / 0.6488 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.2444, allocations: 85.53 kB / 0.6488 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.418e-05/0.2445, allocations: 131.2 kB / 0.649 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2445, allocations: 1.219 kB / 0.649 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001081/0.2446, allocations: 150.8 kB / 0.6491 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.2446, allocations: 33.2 kB / 0.6492 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2446, allocations: 1.906 kB / 0.6492 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2447, allocations: 4.703 kB / 0.6492 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.2447, allocations: 15.59 kB / 0.6492 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2447, allocations: 2.812 kB / 0.6492 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.2448, allocations: 10.94 kB / 0.6492 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.2448, allocations: 6.078 kB / 0.6492 GB, free: 55.89 MB / 0.5573 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 5.215e-05/0.2449, allocations: 144 kB / 0.6493 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.2449, allocations: 11.19 kB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.414e-05/0.2449, allocations: 7.188 kB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2449, allocations: 0 / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2449, allocations: 2.078 kB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.2449, allocations: 0.75 kB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.336e-05/0.245, allocations: 124.2 kB / 0.6495 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.245, allocations: 5.094 kB / 0.6495 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.245, allocations: 1.688 kB / 0.6495 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.245, allocations: 5.531 kB / 0.6495 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.245, allocations: 3.469 kB / 0.6495 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.245, allocations: 0 / 0.6495 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.245, allocations: 2.062 kB / 0.6495 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.251e-05/0.2451, allocations: 187.4 kB / 0.6497 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.2451, allocations: 7.297 kB / 0.6497 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.2451, allocations: 2.688 kB / 0.6497 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.2451, allocations: 3.062 kB / 0.6497 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.2452, allocations: 1.906 kB / 0.6497 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2452, allocations: 3.781 kB / 0.6497 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.612e-05/0.2452, allocations: 90.17 kB / 0.6498 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2452, allocations: 0 / 0.6498 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001656/0.2454, allocations: 11.31 kB / 0.6498 GB, free: 55.31 MB / 0.5573 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.0002361/0.2456, allocations: 0.7378 MB / 0.6505 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.2457, allocations: 138.8 kB / 0.6506 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2457, allocations: 0.8125 kB / 0.6506 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.459e-05/0.2457, allocations: 85.2 kB / 0.6507 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.2459, allocations: 9.422 kB / 0.6507 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.2462, allocations: 170.8 kB / 0.6509 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.101e-05/0.2462, allocations: 64.25 kB / 0.6509 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.2463, allocations: 18.11 kB / 0.651 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.2464, allocations: 12.41 kB / 0.651 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of SimCode: time 8.82e-07/0.2464, allocations: 0 / 0.651 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.2602, allocations: 2.099 MB / 0.653 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.613/6.873, allocations: 11.59 kB / 0.653 GB, free: 53.37 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.498430402949452] Failed to read output from testmodel.py, exit status != 0: 6.949080870486796 6.957552893 6.953393102 Calling exit ...