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.001042/0.001042, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.0009996/0.0009996, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.076/1.076, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.696/0.696, allocations: 115 MB / 376 MB, free: 7.48 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 1.493e-06/1.493e-06, allocations: 0 / 428.8 MB, free: 2.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.76e-05, allocations: 2.312 kB / 428.8 MB, free: 2.727 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001014/0.001032, allocations: 0.6033 MB / 429.4 MB, free: 2.125 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001779/0.00121, allocations: 47.8 kB / 429.4 MB, free: 2.078 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.167e-05/0.001221, allocations: 0 / 429.4 MB, free: 2.078 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.001233, allocations: 7.938 kB / 429.4 MB, free: 2.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.348e-06/0.001237, allocations: 0 / 429.4 MB, free: 2.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.001407, allocations: 15.91 kB / 429.4 MB, free: 2.055 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 3.452e-05/0.001441, allocations: 4 kB / 429.5 MB, free: 2.051 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.789e-05/0.001469, allocations: 4 kB / 429.5 MB, free: 2.047 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.095e-05/0.00149, allocations: 0 / 429.5 MB, free: 2.047 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.516e-05/0.001515, allocations: 0 / 429.5 MB, free: 2.047 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.001525, allocations: 0 / 429.5 MB, free: 2.047 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.001608, allocations: 19.98 kB / 429.5 MB, free: 2.027 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.001618, allocations: 3.984 kB / 429.5 MB, free: 2.023 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.184e-06/0.001626, allocations: 4 kB / 429.5 MB, free: 2.02 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 5.809e-05/0.001684, allocations: 23.91 kB / 429.5 MB, free: 1.996 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.001685, allocations: 0 / 429.5 MB, free: 1.996 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.4e-07/0.001686, allocations: 0 / 429.5 MB, free: 1.996 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.001688, allocations: 0 / 429.5 MB, free: 1.996 MB / 394.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.0001448/0.001833, allocations: 208.8 kB / 429.7 MB, free: 1.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.001862, allocations: 12.03 kB / 429.7 MB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.002012, allocations: 12.92 kB / 429.7 MB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.279e-05/0.002065, allocations: 105.8 kB / 429.8 MB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-06/0.002072, allocations: 4.375 kB / 429.8 MB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.002079, allocations: 4.375 kB / 429.8 MB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.628e-05/0.002156, allocations: 46.89 kB / 429.9 MB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.002161, allocations: 4.188 kB / 429.9 MB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-06/0.002166, allocations: 384 / 429.9 MB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.002171, allocations: 384 / 429.9 MB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.255e-05/0.002184, allocations: 7.875 kB / 429.9 MB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.618e-05/0.00228, allocations: 61.05 kB / 430 MB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.175e-05/0.002312, allocations: 14.58 kB / 430 MB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.111e-05/0.002323, allocations: 12.95 kB / 430 MB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.002334, allocations: 0 / 430 MB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.002353, allocations: 38.5 kB / 430 MB, free: 1.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.002354, allocations: 0 / 430 MB, free: 1.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 7.883e-05/0.002433, allocations: 33.69 kB / 430.1 MB, free: 1.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.002464, allocations: 55.41 kB / 430.1 MB, free: 1.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.662e-05/0.002491, allocations: 89.86 kB / 430.2 MB, free: 1.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.0025, allocations: 25.7 kB / 430.2 MB, free: 1.145 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.002519, allocations: 80.14 kB / 430.3 MB, free: 1.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.002543, allocations: 4.109 kB / 430.3 MB, free: 1.059 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.002566, allocations: 21.72 kB / 430.3 MB, free: 1.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.216e-05/0.002638, allocations: 318.8 kB / 430.6 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-06/0.002644, allocations: 0 / 430.6 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.002651, allocations: 3.938 kB / 430.6 MB, free: 0.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.173e-05/0.002673, allocations: 8.859 kB / 430.7 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.002675, allocations: 0 / 430.7 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.244e-05/0.002707, allocations: 33.7 kB / 430.7 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.002718, allocations: 4 kB / 430.7 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.002723, allocations: 8.078 kB / 430.7 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.002733, allocations: 0 / 430.7 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.306e-05/0.002776, allocations: 4 kB / 430.7 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.002778, allocations: 0 / 430.7 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.031e-05/0.002789, allocations: 0 / 430.7 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.002793, allocations: 0 / 430.7 MB, free: 0.6406 MB / 394.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 0.0001333/0.002926, allocations: 113.8 kB / 430.8 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-06/0.002929, allocations: 3.938 kB / 430.8 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.002948, allocations: 6.984 kB / 430.8 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.002949, allocations: 4 kB / 430.8 MB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.002951, allocations: 0 / 430.8 MB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.002954, allocations: 0 / 430.8 MB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.13e-05/0.002995, allocations: 69.78 kB / 430.9 MB, free: 424 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.002996, allocations: 0 / 430.9 MB, free: 424 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-06/0.003004, allocations: 0 / 430.9 MB, free: 424 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.51e-07/0.003005, allocations: 3.938 kB / 430.9 MB, free: 420 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-06/0.003009, allocations: 4 kB / 430.9 MB, free: 416 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.00301, allocations: 0 / 430.9 MB, free: 416 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00301, allocations: 0 / 430.9 MB, free: 416 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.715e-05/0.003058, allocations: 65.06 kB / 431 MB, free: 332 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-06/0.00306, allocations: 4 kB / 431 MB, free: 328 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-06/0.003067, allocations: 0 / 431 MB, free: 328 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-06/0.003076, allocations: 3.984 kB / 431 MB, free: 324 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-06/0.003085, allocations: 3.984 kB / 431 MB, free: 320 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.003087, allocations: 7.938 kB / 431 MB, free: 312 kB / 394.7 MB Notification: Performance of sorting global known variables: time 6.062e-06/0.003093, allocations: 4.859 kB / 431 MB, free: 304 kB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003093, allocations: 0 / 431 MB, free: 304 kB / 394.7 MB Notification: Performance of remove unused functions: time 8.357e-05/0.003177, allocations: 0 / 431 MB, free: 304 kB / 394.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 6.426e-05/0.003241, allocations: 72.42 kB / 431.1 MB, free: 224 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.143e-05/0.003292, allocations: 12.89 kB / 431.1 MB, free: 208 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.003294, allocations: 0 / 431.1 MB, free: 208 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.508e-06/0.003304, allocations: 16.83 kB / 431.1 MB, free: 188 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.003412, allocations: 3.938 kB / 431.1 MB, free: 184 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001487/0.003561, allocations: 94.64 kB / 431.2 MB, free: 60 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.629e-05/0.003597, allocations: 55.36 kB / 431.2 MB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.912e-05/0.003616, allocations: 4.125 kB / 431.2 MB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.003647, allocations: 51.36 kB / 431.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.003647, allocations: 3.938 kB / 431.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of Templates: time 0.00146/0.005107, allocations: 277.6 kB / 431.6 MB, free: 15.66 MB / 410.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.3316870238631964]