Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001439/0.001439, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001683/0.001683, allocations: 215 kB / 22.99 MB, free: 4.977 MB / 14.72 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9965/0.9965, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 67.58 kB / 0.6416 GB, free: 9.551 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.236, allocations: 89.18 MB / 0.7287 GB, free: 464 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002261/0.2382, allocations: 0.576 MB / 0.7292 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003097/0.2385, allocations: 35.89 kB / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.2386, allocations: 0 / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.2386, allocations: 3.938 kB / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.2386, allocations: 4 kB / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.2389, allocations: 11.98 kB / 0.7293 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.868e-05/0.239, allocations: 4 kB / 0.7293 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.239, allocations: 3.984 kB / 0.7293 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.564e-05/0.239, allocations: 4 kB / 0.7293 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.2391, allocations: 0 / 0.7293 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2391, allocations: 0 / 0.7293 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.2392, allocations: 23.98 kB / 0.7293 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.2392, allocations: 7.938 kB / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.2393, allocations: 3.984 kB / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.2394, allocations: 35.84 kB / 0.7294 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2394, allocations: 0 / 0.7294 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2394, allocations: 0 / 0.7294 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2394, allocations: 7.875 kB / 0.7294 GB, free: 15.73 MB / 0.5606 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.0004283/0.2399, allocations: 272.1 kB / 0.7296 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.2399, allocations: 12.03 kB / 0.7296 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.24, allocations: 4.891 kB / 0.7297 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2401, allocations: 106.5 kB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2401, allocations: 4.375 kB / 0.7298 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.2401, allocations: 384 / 0.7298 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.2403, allocations: 83.95 kB / 0.7298 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2403, allocations: 192 / 0.7298 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.2403, allocations: 3.938 kB / 0.7298 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/0.2403, allocations: 15.98 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.642e-05/0.2404, allocations: 53.62 kB / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.2408, allocations: 224.3 kB / 0.7301 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.517e-05/0.2409, allocations: 44.28 kB / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.2409, allocations: 30.56 kB / 0.7302 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-06/0.2409, allocations: 4.062 kB / 0.7302 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.241, allocations: 34.56 kB / 0.7302 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.241, allocations: 0 / 0.7302 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002445/0.2412, allocations: 126.7 kB / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.2413, allocations: 77.11 kB / 0.7304 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2414, allocations: 125.8 kB / 0.7305 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.2414, allocations: 29.7 kB / 0.7306 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.2416, allocations: 95.94 kB / 0.7307 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.2416, allocations: 8 kB / 0.7307 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.2416, allocations: 29.66 kB / 0.7307 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.2418, allocations: 314.8 kB / 0.731 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.2419, allocations: 37.69 kB / 0.731 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.242, allocations: 88.69 kB / 0.7311 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.2421, allocations: 130.1 kB / 0.7312 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2421, allocations: 0 / 0.7312 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002106/0.2423, allocations: 148.9 kB / 0.7314 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.2424, allocations: 33.7 kB / 0.7314 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2424, allocations: 0 / 0.7314 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.636e-05/0.2424, allocations: 4 kB / 0.7314 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.2425, allocations: 12 kB / 0.7314 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.2425, allocations: 7.922 kB / 0.7314 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.2426, allocations: 11.89 kB / 0.7315 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.2426, allocations: 8 kB / 0.7315 GB, free: 13.28 MB / 0.5606 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 0.000131/0.2427, allocations: 147.7 kB / 0.7316 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.2428, allocations: 4 kB / 0.7316 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.2428, allocations: 7.453 kB / 0.7316 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2428, allocations: 0 / 0.7316 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2428, allocations: 3.938 kB / 0.7316 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2428, allocations: 0 / 0.7316 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.243, allocations: 105.3 kB / 0.7317 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.243, allocations: 4 kB / 0.7317 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.243, allocations: 0 / 0.7317 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.243, allocations: 3.984 kB / 0.7317 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.243, allocations: 3.938 kB / 0.7317 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.243, allocations: 4 kB / 0.7317 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.243, allocations: 0 / 0.7317 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.2432, allocations: 202.8 kB / 0.7319 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-06/0.2432, allocations: 0 / 0.7319 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.2432, allocations: 0 / 0.7319 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.278e-05/0.2433, allocations: 4 kB / 0.7319 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.2433, allocations: 4 kB / 0.7319 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.2433, allocations: 4 kB / 0.7319 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.2434, allocations: 87.27 kB / 0.732 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2434, allocations: 0 / 0.732 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002568/0.2436, allocations: 16.03 kB / 0.732 GB, free: 12.61 MB / 0.5606 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.000217/0.2438, allocations: 103.3 kB / 0.7321 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.2441, allocations: 142.7 kB / 0.7323 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2441, allocations: 3.938 kB / 0.7323 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.492e-05/0.2441, allocations: 81.11 kB / 0.7324 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.2444, allocations: 5.812 kB / 0.7324 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.2447, allocations: 127.2 kB / 0.7325 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.773e-05/0.2448, allocations: 67.34 kB / 0.7325 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.2449, allocations: 15.97 kB / 0.7326 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.2449, allocations: 7.438 kB / 0.7326 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2449, allocations: 0 / 0.7326 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.003586/0.2485, allocations: 0.5438 MB / 0.7331 GB, free: 11.44 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.087630240246654] Failed to read output from testmodel.py, exit status != 0: 0.25816021114587784 0.27567130100000004 0.032521158 Calling exit ...