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.001397/0.001397, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001786/0.001786, allocations: 167.6 kB / 24.84 MB, free: 9.207 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.6764/0.6764, allocations: 115 MB / 376.8 MB, free: 7.5 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.483e-06/1.483e-06, allocations: 0 / 482.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.629e-05, allocations: 8.953 kB / 482.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0009881/0.001004, allocations: 0.6039 MB / 483.4 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001882/0.001193, allocations: 47.5 kB / 483.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.001208, allocations: 2.469 kB / 483.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.001221, allocations: 0 / 483.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.001227, allocations: 0 / 483.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.001432, allocations: 17.28 kB / 483.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.603e-05/0.001468, allocations: 0 / 483.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.001503, allocations: 1.594 kB / 483.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.121e-05/0.001525, allocations: 5.094 kB / 483.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.202e-05/0.001547, allocations: 2.312 kB / 483.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.001558, allocations: 0 / 483.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.154e-05/0.001639, allocations: 22.22 kB / 483.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.00165, allocations: 0 / 483.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.758e-06/0.00166, allocations: 1.031 kB / 483.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.692e-05/0.001727, allocations: 18.16 kB / 483.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.001729, allocations: 3.938 kB / 483.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.00173, allocations: 1.781 kB / 483.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.001734, allocations: 0 / 483.5 MB, free: 11.18 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.0001628/0.001896, allocations: 346.3 kB / 483.9 MB, free: 10.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.001937, allocations: 7.344 kB / 483.9 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.002103, allocations: 20.67 kB / 483.9 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.9e-05/0.002142, allocations: 107.1 kB / 484 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.002151, allocations: 384 / 484 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-06/0.002156, allocations: 3.375 kB / 484 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.994e-05/0.002236, allocations: 45.7 kB / 484.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.002245, allocations: 192 / 484.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.002255, allocations: 384 / 484.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.002259, allocations: 384 / 484.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.534e-05/0.002275, allocations: 14.91 kB / 484.1 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.338e-05/0.002338, allocations: 91.83 kB / 484.2 MB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.306e-05/0.002371, allocations: 36.02 kB / 484.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.072e-05/0.002382, allocations: 9.844 kB / 484.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.002394, allocations: 1.438 kB / 484.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.002407, allocations: 35.23 kB / 484.2 MB, free: 10.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.002407, allocations: 1.062 kB / 484.2 MB, free: 10.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 8.917e-05/0.002496, allocations: 36.88 kB / 484.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.002516, allocations: 55.34 kB / 484.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.848e-05/0.002535, allocations: 142.2 kB / 484.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.391e-06/0.00254, allocations: 25.7 kB / 484.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.228e-05/0.002552, allocations: 128.4 kB / 484.6 MB, free: 9.996 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.002577, allocations: 5.297 kB / 484.6 MB, free: 9.992 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.002599, allocations: 23.17 kB / 484.6 MB, free: 9.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.002843, allocations: 496.1 kB / 485.1 MB, free: 25.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.002857, allocations: 5.031 kB / 485.1 MB, free: 25.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.002865, allocations: 3.031 kB / 485.1 MB, free: 25.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.002891, allocations: 12.59 kB / 485.2 MB, free: 25.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.002893, allocations: 2.188 kB / 485.2 MB, free: 25.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.489e-05/0.002938, allocations: 34.91 kB / 485.2 MB, free: 25.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.002953, allocations: 10.19 kB / 485.2 MB, free: 25.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.002957, allocations: 2.062 kB / 485.2 MB, free: 25.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.002964, allocations: 3.938 kB / 485.2 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.003013, allocations: 2.625 kB / 485.2 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.003016, allocations: 0 / 485.2 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.00303, allocations: 2.438 kB / 485.2 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.003035, allocations: 2.812 kB / 485.2 MB, free: 25.41 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.006e-05/0.003095, allocations: 161.2 kB / 485.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-06/0.0031, allocations: 0 / 485.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.003119, allocations: 4.906 kB / 485.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.00312, allocations: 0 / 485.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.003122, allocations: 0 / 485.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.003125, allocations: 0 / 485.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.479e-05/0.00317, allocations: 97.88 kB / 485.5 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.00317, allocations: 0.7188 kB / 485.5 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.003185, allocations: 3 kB / 485.5 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.003186, allocations: 1.438 kB / 485.5 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.003191, allocations: 1.812 kB / 485.5 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.003191, allocations: 0 / 485.5 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.003192, allocations: 3.984 kB / 485.5 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.687e-05/0.003249, allocations: 80.2 kB / 485.6 MB, free: 25.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-06/0.003254, allocations: 8.422 kB / 485.6 MB, free: 25.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-06/0.003262, allocations: 0.8125 kB / 485.6 MB, free: 25.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.003271, allocations: 1.656 kB / 485.6 MB, free: 25.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-06/0.003281, allocations: 0.6562 kB / 485.6 MB, free: 25.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.003282, allocations: 0.7812 kB / 485.6 MB, free: 25.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.203e-05/0.003314, allocations: 122.6 kB / 485.7 MB, free: 24.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003314, allocations: 0 / 485.7 MB, free: 24.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00011/0.003424, allocations: 0.8125 kB / 485.7 MB, free: 24.91 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 5.837e-05/0.003483, allocations: 91.88 kB / 485.8 MB, free: 24.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.554e-05/0.003538, allocations: 18.34 kB / 485.8 MB, free: 24.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.01e-07/0.003539, allocations: 2.406 kB / 485.8 MB, free: 24.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.276e-06/0.003548, allocations: 11.62 kB / 485.8 MB, free: 24.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.149e-05/0.003639, allocations: 9.688 kB / 485.8 MB, free: 24.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001329/0.003772, allocations: 84.27 kB / 485.9 MB, free: 24.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.89e-05/0.003791, allocations: 51.36 kB / 486 MB, free: 24.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.869e-05/0.00381, allocations: 5.031 kB / 486 MB, free: 24.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.003845, allocations: 66.77 kB / 486 MB, free: 24.55 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.003845, allocations: 4.875 kB / 486 MB, free: 24.55 MB / 426.7 MB Notification: Performance of Templates: time 0.001485/0.00533, allocations: 275.2 kB / 486.3 MB, free: 24.5 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.5743939480744302]