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.001286/0.001286, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001436/0.001436, allocations: 211.6 kB / 23.74 MB, free: 4.445 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.9918/0.9918, allocations: 149.9 MB / 463.8 MB, free: 10.39 MB / 366.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.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 64.19 kB / 0.6423 GB, free: 9.648 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1854, allocations: 89.18 MB / 0.7294 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001913/0.1873, allocations: 0.59 MB / 0.73 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.1876, allocations: 43.86 kB / 0.73 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.646e-05/0.1876, allocations: 0 / 0.73 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.1876, allocations: 0 / 0.73 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-06/0.1876, allocations: 3.938 kB / 0.73 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1879, allocations: 19.92 kB / 0.7301 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.953e-05/0.1879, allocations: 0 / 0.7301 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.188, allocations: 8 kB / 0.7301 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.359e-05/0.188, allocations: 0 / 0.7301 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.481e-05/0.188, allocations: 0 / 0.7301 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.188, allocations: 0 / 0.7301 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1881, allocations: 23.92 kB / 0.7301 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.1881, allocations: 3.984 kB / 0.7301 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.1882, allocations: 0 / 0.7301 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.1883, allocations: 19.97 kB / 0.7301 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1883, allocations: 0 / 0.7301 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1883, allocations: 0 / 0.7301 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.1883, allocations: 0 / 0.7301 GB, free: 15.83 MB / 0.5606 GB 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.0003357/0.1886, allocations: 238.4 kB / 0.7303 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1887, allocations: 8.031 kB / 0.7303 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.1889, allocations: 28.89 kB / 0.7304 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.718e-05/0.189, allocations: 110.5 kB / 0.7305 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.189, allocations: 384 / 0.7305 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.189, allocations: 384 / 0.7305 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1892, allocations: 34.25 kB / 0.7305 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1892, allocations: 192 / 0.7305 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1892, allocations: 3.938 kB / 0.7305 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1892, allocations: 8 kB / 0.7305 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.556e-05/0.1893, allocations: 7.984 kB / 0.7305 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.1894, allocations: 93.33 kB / 0.7306 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.1895, allocations: 30.53 kB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.1896, allocations: 8.922 kB / 0.7307 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.1896, allocations: 0 / 0.7307 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1896, allocations: 34.56 kB / 0.7307 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1896, allocations: 0 / 0.7307 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002534/0.1899, allocations: 53.61 kB / 0.7307 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1899, allocations: 51.41 kB / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.368e-05/0.19, allocations: 93.86 kB / 0.7309 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.19, allocations: 29.64 kB / 0.7309 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.19, allocations: 84.08 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.19, allocations: 3.953 kB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.1901, allocations: 13.72 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1902, allocations: 314.8 kB / 0.7313 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.1903, allocations: 8.125 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/0.1903, allocations: 11.98 kB / 0.7313 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.768e-05/0.1904, allocations: 12.84 kB / 0.7313 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1904, allocations: 3.938 kB / 0.7313 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001215/0.1905, allocations: 45.69 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1905, allocations: 6.344 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1905, allocations: 96 / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1905, allocations: 4 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.1906, allocations: 11.88 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1906, allocations: 0 / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/0.1907, allocations: 7.984 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1907, allocations: 0 / 0.7314 GB, free: 14.32 MB / 0.5606 GB 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 7.929e-05/0.1907, allocations: 105.8 kB / 0.7315 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-06/0.1908, allocations: 0 / 0.7315 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.1908, allocations: 3 kB / 0.7315 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.1908, allocations: 7.938 kB / 0.7315 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1908, allocations: 4 kB / 0.7315 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1908, allocations: 0 / 0.7315 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.294e-05/0.1909, allocations: 101.3 kB / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.1909, allocations: 0 / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.1909, allocations: 4 kB / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1909, allocations: 0 / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1909, allocations: 0 / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1909, allocations: 0 / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1909, allocations: 3.938 kB / 0.7316 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.1911, allocations: 69.11 kB / 0.7317 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-06/0.1911, allocations: 3.938 kB / 0.7317 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1911, allocations: 4 kB / 0.7317 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.188e-05/0.1911, allocations: 4 kB / 0.7317 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.1912, allocations: 3.938 kB / 0.7317 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1912, allocations: 0 / 0.7317 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.1912, allocations: 83.2 kB / 0.7318 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1912, allocations: 4 kB / 0.7318 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000174/0.1914, allocations: 0 / 0.7318 GB, free: 13.87 MB / 0.5606 GB 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.0001217/0.1915, allocations: 95.28 kB / 0.7319 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.1916, allocations: 11.98 kB / 0.7319 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1916, allocations: 0 / 0.7319 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.249e-05/0.1917, allocations: 4 kB / 0.7319 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.1918, allocations: 7.922 kB / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.1921, allocations: 118.5 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.803e-05/0.1921, allocations: 55.36 kB / 0.7321 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.1922, allocations: 11.56 kB / 0.7321 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.1922, allocations: 0 / 0.7321 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0018/0.194, allocations: 397.4 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9072317983955145] Failed to read output from testmodel.py, exit status != 0: 0.2028291798196733 0.217223356 0.025821181000000002 Calling exit ...