Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.0009344/0.0009344, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001003/0.001003, allocations: 165 kB / 23.8 MB, free: 0.7695 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 1.021/1.021, allocations: 177.1 MB / 204.2 MB, free: 5.25 MB / 186.7 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.6191/0.6191, allocations: 115 MB / 375.7 MB, free: 7.582 MB / 346.7 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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 481.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.192e-05, allocations: 2.312 kB / 481.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001839/0.001871, allocations: 0.6044 MB / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002645/0.002136, allocations: 45.12 kB / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.002154, allocations: 3.938 kB / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.002174, allocations: 0 / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.424e-06/0.002181, allocations: 4.75 kB / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.002448, allocations: 16.28 kB / 482.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.131e-05/0.0025, allocations: 7.844 kB / 482.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.002537, allocations: 0 / 482.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.487e-05/0.002562, allocations: 1.219 kB / 482.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.401e-05/0.002586, allocations: 0.8125 kB / 482.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.0026, allocations: 3.375 kB / 482.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.002707, allocations: 17.2 kB / 482.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.00272, allocations: 3.281 kB / 482.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.002737, allocations: 0.8125 kB / 482.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.057e-05/0.002827, allocations: 20.08 kB / 482.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.00283, allocations: 1 kB / 482.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.00283, allocations: 0 / 482.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.002836, allocations: 4.562 kB / 482.3 MB, free: 11.42 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002247/0.00306, allocations: 343.6 kB / 482.6 MB, free: 11.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.003103, allocations: 11.59 kB / 482.6 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.003345, allocations: 14.14 kB / 482.7 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.116e-05/0.003396, allocations: 106 kB / 482.8 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.003409, allocations: 2.406 kB / 482.8 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.003418, allocations: 1 kB / 482.8 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.003543, allocations: 47.41 kB / 482.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.003551, allocations: 192 / 482.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.00356, allocations: 384 / 482.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.003569, allocations: 8.625 kB / 482.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.36e-05/0.003593, allocations: 5.688 kB / 482.8 MB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.515e-05/0.003688, allocations: 109.3 kB / 482.9 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.422e-05/0.003732, allocations: 34.69 kB / 483 MB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.003752, allocations: 9.094 kB / 483 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.003768, allocations: 0 / 483 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.003786, allocations: 36.86 kB / 483 MB, free: 10.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.003787, allocations: 0.7188 kB / 483 MB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.003929, allocations: 36.58 kB / 483 MB, free: 10.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.003953, allocations: 52.25 kB / 483.1 MB, free: 10.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.004167, allocations: 142.2 kB / 483.2 MB, free: 26.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.004177, allocations: 32.45 kB / 483.3 MB, free: 26.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.004204, allocations: 126.9 kB / 483.4 MB, free: 26.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.004236, allocations: 5.484 kB / 483.4 MB, free: 26.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.004269, allocations: 20.03 kB / 483.4 MB, free: 26.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.004391, allocations: 497.2 kB / 483.9 MB, free: 25.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.004413, allocations: 4.188 kB / 483.9 MB, free: 25.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-06/0.004422, allocations: 0 / 483.9 MB, free: 25.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/0.004462, allocations: 10.25 kB / 483.9 MB, free: 25.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004464, allocations: 1.781 kB / 483.9 MB, free: 25.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.635e-05/0.004531, allocations: 45.08 kB / 484 MB, free: 25.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.004547, allocations: 4.5 kB / 484 MB, free: 25.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.004553, allocations: 0 / 484 MB, free: 25.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.004566, allocations: 0 / 484 MB, free: 25.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.004645, allocations: 4.188 kB / 484 MB, free: 25.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.00465, allocations: 0 / 484 MB, free: 25.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.004669, allocations: 9.891 kB / 484 MB, free: 25.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.004676, allocations: 0.5625 kB / 484 MB, free: 25.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 6.892e-05/0.004745, allocations: 155.9 kB / 484.1 MB, free: 25.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.004754, allocations: 0 / 484.1 MB, free: 25.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.004786, allocations: 8.078 kB / 484.1 MB, free: 25.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.004789, allocations: 0 / 484.1 MB, free: 25.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.004793, allocations: 3.5 kB / 484.1 MB, free: 25.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.004796, allocations: 1 kB / 484.1 MB, free: 25.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.652e-05/0.004853, allocations: 111.7 kB / 484.3 MB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.004855, allocations: 4.812 kB / 484.3 MB, free: 25.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.004888, allocations: 6.188 kB / 484.3 MB, free: 25.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.004892, allocations: 3.094 kB / 484.3 MB, free: 25.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.004901, allocations: 2.438 kB / 484.3 MB, free: 25.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.004903, allocations: 0 / 484.3 MB, free: 25.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.004905, allocations: 0 / 484.3 MB, free: 25.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.105e-05/0.004996, allocations: 78.36 kB / 484.4 MB, free: 25.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.005002, allocations: 2.25 kB / 484.4 MB, free: 25.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.005015, allocations: 3.281 kB / 484.4 MB, free: 25.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.208e-05/0.005037, allocations: 0 / 484.4 MB, free: 25.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.005055, allocations: 3.406 kB / 484.4 MB, free: 25.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.005059, allocations: 0 / 484.4 MB, free: 25.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.058e-05/0.0051, allocations: 120.4 kB / 484.5 MB, free: 25.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0051, allocations: 0 / 484.5 MB, free: 25.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.00528, allocations: 4.281 kB / 484.5 MB, free: 25.12 MB / 426.7 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): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001065/0.005387, allocations: 95.53 kB / 484.6 MB, free: 25.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.005487, allocations: 17.94 kB / 484.6 MB, free: 25.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.005489, allocations: 1.438 kB / 484.6 MB, free: 25.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.005501, allocations: 16.5 kB / 484.6 MB, free: 25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.005634, allocations: 0 / 484.6 MB, free: 25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.005846, allocations: 83.8 kB / 484.7 MB, free: 24.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.074e-05/0.005867, allocations: 52.48 kB / 484.7 MB, free: 24.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.851e-05/0.005896, allocations: 4.406 kB / 484.7 MB, free: 24.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.005921, allocations: 11.22 kB / 484.8 MB, free: 24.82 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.005922, allocations: 0 / 484.8 MB, free: 24.82 MB / 426.7 MB Notification: Performance of Templates: time 0.001905/0.007827, allocations: 273 kB / 485 MB, free: 24.77 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6207030890509486]