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.0009641/0.0009641, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001015/0.001015, allocations: 173 kB / 24.25 MB, free: 304 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.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.6342/0.6342, allocations: 115 MB / 376 MB, free: 7.664 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.293e-06/1.293e-06, allocations: 0 / 481.6 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.818e-05, allocations: 3.078 kB / 481.6 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001286/0.001315, allocations: 0.5971 MB / 482.2 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002229/0.001538, allocations: 52.05 kB / 482.2 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.001557, allocations: 7.562 kB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.001573, allocations: 1.312 kB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.00158, allocations: 0 / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.001816, allocations: 7.156 kB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.494e-05/0.001861, allocations: 0.6562 kB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.001901, allocations: 10.5 kB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.405e-05/0.001925, allocations: 1.406 kB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.456e-05/0.001949, allocations: 0 / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.001962, allocations: 4.344 kB / 482.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.002063, allocations: 19.36 kB / 482.3 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.002076, allocations: 0.5 kB / 482.3 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.002093, allocations: 8.078 kB / 482.3 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.382e-05/0.002177, allocations: 14.02 kB / 482.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.002179, allocations: 3.125 kB / 482.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.00218, allocations: 0 / 482.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.002184, allocations: 1.438 kB / 482.3 MB, free: 11.5 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.0001989/0.002383, allocations: 338.4 kB / 482.6 MB, free: 11.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.00242, allocations: 10.72 kB / 482.6 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.00263, allocations: 17.17 kB / 482.7 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.965e-05/0.002689, allocations: 109.1 kB / 482.8 MB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.002705, allocations: 2.156 kB / 482.8 MB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.002715, allocations: 384 / 482.8 MB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.002833, allocations: 49.78 kB / 482.8 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.00284, allocations: 192 / 482.8 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.002848, allocations: 1.875 kB / 482.8 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.002856, allocations: 8.297 kB / 482.8 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.002875, allocations: 9.688 kB / 482.8 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.722e-05/0.002962, allocations: 107.3 kB / 482.9 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.168e-05/0.003004, allocations: 25.44 kB / 483 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.003026, allocations: 18.19 kB / 483 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.003043, allocations: 0 / 483 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.003061, allocations: 34.52 kB / 483 MB, free: 10.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.003061, allocations: 0 / 483 MB, free: 10.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.003197, allocations: 39.11 kB / 483.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.003223, allocations: 54.41 kB / 483.1 MB, free: 10.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.124e-05/0.003244, allocations: 142.9 kB / 483.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.003251, allocations: 26.33 kB / 483.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.003484, allocations: 126.9 kB / 483.4 MB, free: 26.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.003515, allocations: 4.984 kB / 483.4 MB, free: 26.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.003548, allocations: 23 kB / 483.4 MB, free: 26.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.00368, allocations: 497.3 kB / 483.9 MB, free: 25.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.003703, allocations: 0.5312 kB / 483.9 MB, free: 25.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.003715, allocations: 6.359 kB / 483.9 MB, free: 25.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.003757, allocations: 11.16 kB / 483.9 MB, free: 25.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.003759, allocations: 0 / 483.9 MB, free: 25.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.058e-05/0.003819, allocations: 34.67 kB / 484 MB, free: 25.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.003836, allocations: 6.375 kB / 484 MB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.003841, allocations: 3.422 kB / 484 MB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.003856, allocations: 4.281 kB / 484 MB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.861e-05/0.003925, allocations: 0 / 484 MB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.00393, allocations: 0 / 484 MB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.003943, allocations: 7.719 kB / 484 MB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.003948, allocations: 0 / 484 MB, free: 25.73 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.04e-05/0.004008, allocations: 157.9 kB / 484.1 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-06/0.004015, allocations: 5.281 kB / 484.1 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.004037, allocations: 3.938 kB / 484.1 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.004039, allocations: 0.9688 kB / 484.1 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.004043, allocations: 2.875 kB / 484.1 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004046, allocations: 0 / 484.1 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.67e-05/0.004083, allocations: 109.6 kB / 484.3 MB, free: 25.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.004084, allocations: 4 kB / 484.3 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.0041, allocations: 10.58 kB / 484.3 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.004102, allocations: 0.9688 kB / 484.3 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.004109, allocations: 0 / 484.3 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.00411, allocations: 0.5625 kB / 484.3 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.004112, allocations: 4.438 kB / 484.3 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.622e-05/0.004178, allocations: 78.69 kB / 484.4 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-06/0.004182, allocations: 0 / 484.4 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.004191, allocations: 0.5625 kB / 484.4 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.004202, allocations: 1.562 kB / 484.4 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.004217, allocations: 2.906 kB / 484.4 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.00422, allocations: 3.328 kB / 484.4 MB, free: 25.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.321e-05/0.004254, allocations: 119.9 kB / 484.5 MB, free: 25.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004254, allocations: 0 / 484.5 MB, free: 25.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001166/0.00437, allocations: 4.031 kB / 484.5 MB, free: 25.2 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 8.898e-05/0.004459, allocations: 94.5 kB / 484.6 MB, free: 25.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.789e-05/0.004537, allocations: 16.75 kB / 484.6 MB, free: 25.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.004539, allocations: 0 / 484.6 MB, free: 25.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.516e-06/0.004547, allocations: 15.19 kB / 484.6 MB, free: 25.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.004649, allocations: 7.688 kB / 484.6 MB, free: 25.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.004883, allocations: 79.84 kB / 484.7 MB, free: 24.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.489e-05/0.004908, allocations: 56.09 kB / 484.7 MB, free: 24.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.599e-05/0.004934, allocations: 1 kB / 484.7 MB, free: 24.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.004958, allocations: 12 kB / 484.8 MB, free: 24.9 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/0.004959, allocations: 0 / 484.8 MB, free: 24.9 MB / 426.7 MB Notification: Performance of Templates: time 0.001897/0.006856, allocations: 258.7 kB / 485 MB, free: 24.85 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.5757713520433754]