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.001308/0.001308, allocations: 74.98 kB / 19.93 MB, free: 1.77 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.001671/0.001671, allocations: 168.9 kB / 23.22 MB, free: 4.887 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.376/1.376, allocations: 177.2 MB / 203.5 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] 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.8907/0.8907, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 3.938 kB / 0.5547 GB, free: 2.422 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.597e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.418 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001385/0.001411, allocations: 0.5827 MB / 0.5553 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.000222/0.001633, allocations: 36.3 kB / 0.5553 GB, free: 1.805 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.001654, allocations: 0 / 0.5553 GB, free: 1.805 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.001684, allocations: 0 / 0.5553 GB, free: 1.805 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 2.971e-05/0.001713, allocations: 0 / 0.5553 GB, free: 1.805 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.001909, allocations: 19.92 kB / 0.5554 GB, free: 1.785 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.951e-05/0.001989, allocations: 7.922 kB / 0.5554 GB, free: 1.777 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.002025, allocations: 8 kB / 0.5554 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.002058, allocations: 3.984 kB / 0.5554 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.002102, allocations: 0 / 0.5554 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.002117, allocations: 0 / 0.5554 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.002205, allocations: 23.92 kB / 0.5554 GB, free: 1.742 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.002232, allocations: 4 kB / 0.5554 GB, free: 1.738 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.00226, allocations: 4 kB / 0.5554 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.002365, allocations: 27.89 kB / 0.5554 GB, free: 1.707 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.002367, allocations: 0 / 0.5554 GB, free: 1.707 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.002367, allocations: 0 / 0.5554 GB, free: 1.707 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.002371, allocations: 4 kB / 0.5554 GB, free: 1.703 MB / 462.1 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.0003542/0.002726, allocations: 286.6 kB / 0.5557 GB, free: 1.387 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.002762, allocations: 8.625 kB / 0.5557 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.002798, allocations: 0.9375 kB / 0.5557 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.002899, allocations: 105.8 kB / 0.5558 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.002912, allocations: 384 / 0.5558 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.00292, allocations: 384 / 0.5558 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.003068, allocations: 87.89 kB / 0.5559 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.003076, allocations: 192 / 0.5559 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.003084, allocations: 4.312 kB / 0.5559 GB, free: 1.148 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.00311, allocations: 8.359 kB / 0.5559 GB, free: 1.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.003176, allocations: 57.62 kB / 0.556 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.00349, allocations: 212.5 kB / 0.5562 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/0.003566, allocations: 48.22 kB / 0.5562 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.003602, allocations: 38.48 kB / 0.5563 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.003611, allocations: 3.984 kB / 0.5563 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.003644, allocations: 34.62 kB / 0.5563 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.003645, allocations: 0 / 0.5563 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.000199/0.003844, allocations: 118.8 kB / 0.5564 GB, free: 0.543 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.003899, allocations: 85.09 kB / 0.5565 GB, free: 452 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.004002, allocations: 117.9 kB / 0.5566 GB, free: 324 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.004019, allocations: 29.83 kB / 0.5566 GB, free: 288 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.004074, allocations: 99.98 kB / 0.5567 GB, free: 184 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.004083, allocations: 7.891 kB / 0.5567 GB, free: 176 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.004126, allocations: 25.7 kB / 0.5568 GB, free: 144 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.00428, allocations: 318.8 kB / 0.5571 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.806e-05/0.004318, allocations: 41.62 kB / 0.5571 GB, free: 15.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.603e-05/0.004394, allocations: 84.56 kB / 0.5572 GB, free: 15.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.004523, allocations: 134.1 kB / 0.5573 GB, free: 15.49 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.004526, allocations: 4 kB / 0.5573 GB, free: 15.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000177/0.004703, allocations: 148.8 kB / 0.5575 GB, free: 15.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.004733, allocations: 29.7 kB / 0.5575 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.004739, allocations: 8.25 kB / 0.5575 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.004753, allocations: 4 kB / 0.5575 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.004815, allocations: 15.92 kB / 0.5575 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.004823, allocations: 4 kB / 0.5575 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.004881, allocations: 4 kB / 0.5575 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.004894, allocations: 4 kB / 0.5575 GB, free: 15.25 MB / 478.1 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 0.0001086/0.005002, allocations: 148.6 kB / 0.5577 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.005029, allocations: 7.891 kB / 0.5577 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.591e-05/0.005044, allocations: 11.45 kB / 0.5577 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.005046, allocations: 3.938 kB / 0.5577 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.005048, allocations: 4 kB / 0.5577 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.005051, allocations: 0 / 0.5577 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.005179, allocations: 101.3 kB / 0.5578 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.005183, allocations: 3.984 kB / 0.5578 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.005195, allocations: 7.938 kB / 0.5578 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.005196, allocations: 0 / 0.5578 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.005205, allocations: 4 kB / 0.5578 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.005205, allocations: 0 / 0.5578 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.005206, allocations: 0 / 0.5578 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.005351, allocations: 190.9 kB / 0.558 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.005361, allocations: 11.97 kB / 0.558 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.005372, allocations: 0 / 0.558 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.281e-05/0.005425, allocations: 0 / 0.558 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-06/0.005434, allocations: 0 / 0.558 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.005439, allocations: 4 kB / 0.558 GB, free: 14.69 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.126e-05/0.0055, allocations: 91.27 kB / 0.5581 GB, free: 14.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0055, allocations: 0 / 0.5581 GB, free: 14.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.005737, allocations: 11.94 kB / 0.5581 GB, free: 14.59 MB / 478.1 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.0001329/0.00587, allocations: 107.2 kB / 0.5582 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.00605, allocations: 142.7 kB / 0.5583 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006052, allocations: 0 / 0.5583 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.006124, allocations: 85.11 kB / 0.5584 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.006328, allocations: 4 kB / 0.5584 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.006576, allocations: 138.6 kB / 0.5586 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.814e-05/0.006644, allocations: 64.91 kB / 0.5586 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.294e-05/0.006687, allocations: 16.53 kB / 0.5586 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.006702, allocations: 12.5 kB / 0.5586 GB, free: 13.93 MB / 478.1 MB Notification: Performance of SimCode: time 2.91e-07/0.006702, allocations: 0 / 0.5586 GB, free: 13.93 MB / 478.1 MB Notification: Performance of Templates: time 0.003086/0.009788, allocations: 0.5565 MB / 0.5592 GB, free: 13.39 MB / 478.1 MB " [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: 5.053113464266062] Failed to read output from testmodel.py, exit status != 0: 0.017335195094347 0.030950131000000002 0.025696567 Calling exit ...