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.0006756/0.0006756, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007141/0.0007141, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8252/0.8252, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.00154/0.00154, allocations: 233.8 kB / 260.2 MB, free: 13.01 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.6543/0.6543, allocations: 138.4 MB / 455.1 MB, free: 30.01 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.6476 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.586e-05, allocations: 4.953 kB / 0.6476 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001123/0.001149, allocations: 0.6003 MB / 0.6482 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001861/0.001335, allocations: 35.88 kB / 0.6482 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.881e-05/0.001354, allocations: 0 / 0.6482 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.001381, allocations: 0 / 0.6482 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.734e-05/0.001418, allocations: 4 kB / 0.6482 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.001609, allocations: 7.984 kB / 0.6482 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.842e-05/0.001677, allocations: 8 kB / 0.6482 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.001714, allocations: 3.984 kB / 0.6482 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.961e-05/0.001744, allocations: 0 / 0.6482 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.001785, allocations: 7.984 kB / 0.6482 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.0018, allocations: 4 kB / 0.6482 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.516e-05/0.001865, allocations: 15.98 kB / 0.6483 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.001894, allocations: 7.938 kB / 0.6483 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.885e-05/0.001913, allocations: 0 / 0.6483 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.226e-05/0.002005, allocations: 31.91 kB / 0.6483 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002007, allocations: 3.938 kB / 0.6483 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.322e-06/0.002008, allocations: 0 / 0.6483 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.002012, allocations: 0 / 0.6483 GB, free: 0.5352 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.0002526/0.002265, allocations: 274.8 kB / 0.6486 GB, free: 236 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.002295, allocations: 8.75 kB / 0.6486 GB, free: 228 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.002323, allocations: 4.938 kB / 0.6486 GB, free: 224 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.987e-05/0.002373, allocations: 113.7 kB / 0.6487 GB, free: 84 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.002382, allocations: 384 / 0.6487 GB, free: 84 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.002391, allocations: 4.375 kB / 0.6487 GB, free: 80 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2335/0.2359, allocations: 80.66 kB / 0.6488 GB, free: 57.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2359, allocations: 192 / 0.6488 GB, free: 57.25 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.2359, allocations: 384 / 0.6488 GB, free: 57.25 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.236, allocations: 10.27 kB / 0.6488 GB, free: 57.25 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.236, allocations: 51.91 kB / 0.6488 GB, free: 57.22 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.2363, allocations: 211 kB / 0.649 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.813e-05/0.2364, allocations: 50.86 kB / 0.6491 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.2364, allocations: 35.56 kB / 0.6491 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.261e-06/0.2364, allocations: 0.5625 kB / 0.6491 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.2364, allocations: 32.7 kB / 0.6491 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2364, allocations: 2.094 kB / 0.6491 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001561/0.2366, allocations: 121.7 kB / 0.6493 GB, free: 56.76 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.2366, allocations: 79.58 kB / 0.6493 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.969e-05/0.2366, allocations: 124.8 kB / 0.6494 GB, free: 56.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.2366, allocations: 25.7 kB / 0.6495 GB, free: 56.53 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.2367, allocations: 102.6 kB / 0.6496 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/0.2367, allocations: 6.656 kB / 0.6496 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.2367, allocations: 24.28 kB / 0.6496 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.2368, allocations: 316.9 kB / 0.6499 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.2368, allocations: 37.81 kB / 0.6499 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.713e-05/0.2368, allocations: 89.8 kB / 0.65 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.504e-05/0.2369, allocations: 132.2 kB / 0.6502 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2369, allocations: 0 / 0.6502 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.805e-05/0.237, allocations: 145.6 kB / 0.6503 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.237, allocations: 33.75 kB / 0.6503 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.237, allocations: 1.906 kB / 0.6503 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2371, allocations: 2.562 kB / 0.6503 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.2371, allocations: 20.09 kB / 0.6503 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.2371, allocations: 7.266 kB / 0.6504 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.2372, allocations: 15.98 kB / 0.6504 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.2372, allocations: 6.625 kB / 0.6504 GB, free: 55.71 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 4.736e-05/0.2372, allocations: 143.5 kB / 0.6505 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.2373, allocations: 4.406 kB / 0.6505 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.153e-05/0.2373, allocations: 5.562 kB / 0.6505 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2373, allocations: 1.344 kB / 0.6505 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2373, allocations: 4.469 kB / 0.6505 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2373, allocations: 3.938 kB / 0.6505 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.73e-05/0.2373, allocations: 104 kB / 0.6506 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2373, allocations: 1.156 kB / 0.6506 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-07/0.2373, allocations: 1.812 kB / 0.6506 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2373, allocations: 7.203 kB / 0.6506 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.2374, allocations: 1.094 kB / 0.6506 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.2374, allocations: 0.8125 kB / 0.6506 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2374, allocations: 0.6094 kB / 0.6506 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.256e-05/0.2374, allocations: 195.3 kB / 0.6508 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.2374, allocations: 3.797 kB / 0.6508 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.2374, allocations: 1.766 kB / 0.6508 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.2375, allocations: 2 kB / 0.6508 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.2375, allocations: 3.547 kB / 0.6508 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.2375, allocations: 3.5 kB / 0.6508 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.2375, allocations: 92.28 kB / 0.6509 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2375, allocations: 2.156 kB / 0.6509 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00017/0.2377, allocations: 12.64 kB / 0.6509 GB, free: 55.16 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.0001389/0.2378, allocations: 104.2 kB / 0.651 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.238, allocations: 147.6 kB / 0.6512 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.238, allocations: 0 / 0.6512 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.238, allocations: 83.98 kB / 0.6513 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.2381, allocations: 6.578 kB / 0.6513 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.2383, allocations: 161.5 kB / 0.6514 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.2384, allocations: 61.5 kB / 0.6515 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.368e-05/0.2384, allocations: 11.28 kB / 0.6515 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/0.2384, allocations: 0 / 0.6515 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of Templates: time 0.001863/0.2403, allocations: 0.6901 MB / 0.6522 GB, free: 54.62 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.021852175705135] Failed to read output from testmodel.py, exit status != 0: 0.24571271613240242 0.252519359 0.24903009 Calling exit ...