Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.001803/0.001803, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.00229/0.00229, allocations: 207 kB / 23.74 MB, free: 4.543 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.9717/0.9717, allocations: 149.9 MB / 463.8 MB, free: 10.38 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.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") [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.001998/0.001998, allocations: 68.52 kB / 0.6423 GB, free: 9.672 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1867, allocations: 89.17 MB / 0.7294 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003494/0.1902, allocations: 1.775 MB / 0.7311 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1914, allocations: 0.5494 MB / 0.7317 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1915, allocations: 7.938 kB / 0.7317 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.1917, allocations: 27.73 kB / 0.7317 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.924e-05/0.1917, allocations: 27.67 kB / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.192, allocations: 75.86 kB / 0.7318 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000266/0.1923, allocations: 163.5 kB / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1924, allocations: 29.8 kB / 0.732 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1925, allocations: 67.7 kB / 0.732 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.1926, allocations: 51.64 kB / 0.7321 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.1926, allocations: 12 kB / 0.7321 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.1927, allocations: 12 kB / 0.7321 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.1927, allocations: 27.86 kB / 0.7321 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/0.1928, allocations: 47.73 kB / 0.7322 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.193, allocations: 139.2 kB / 0.7323 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.193, allocations: 7.984 kB / 0.7323 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.963e-06/0.193, allocations: 0 / 0.7323 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.193, allocations: 0 / 0.7323 GB, free: 13.54 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000907/0.1939, allocations: 431.1 kB / 0.7327 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.194, allocations: 12.03 kB / 0.7327 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.1941, allocations: 20.84 kB / 0.7328 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.1945, allocations: 178.1 kB / 0.7329 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.1945, allocations: 8.375 kB / 0.7329 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.1945, allocations: 12.38 kB / 0.733 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.1949, allocations: 149.5 kB / 0.7331 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1949, allocations: 0 / 0.7331 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.1949, allocations: 12 kB / 0.7331 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1949, allocations: 0 / 0.7331 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.1951, allocations: 71.83 kB / 0.7332 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.1961, allocations: 0.6531 MB / 0.7338 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1963, allocations: 50.55 kB / 0.7339 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1964, allocations: 33 kB / 0.7339 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1964, allocations: 3.984 kB / 0.7339 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.1967, allocations: 126.7 kB / 0.734 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.1967, allocations: 0 / 0.734 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005141/0.1972, allocations: 165.7 kB / 0.7342 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.1973, allocations: 132.8 kB / 0.7343 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.1975, allocations: 196 kB / 0.7345 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1976, allocations: 29.64 kB / 0.7345 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1977, allocations: 135.9 kB / 0.7346 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.1977, allocations: 39.73 kB / 0.7347 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.1978, allocations: 37.7 kB / 0.7347 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.198, allocations: 326.8 kB / 0.735 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1981, allocations: 44.03 kB / 0.7351 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.1983, allocations: 143.2 kB / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.1987, allocations: 210.2 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1987, allocations: 4 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004197/0.1991, allocations: 209.2 kB / 0.7356 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1991, allocations: 8 kB / 0.7356 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.525e-06/0.1991, allocations: 4 kB / 0.7356 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1991, allocations: 4 kB / 0.7356 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1993, allocations: 35.91 kB / 0.7357 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1993, allocations: 4 kB / 0.7357 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.1994, allocations: 28.34 kB / 0.7357 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.1995, allocations: 8 kB / 0.7357 GB, free: 9.734 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001519/0.1996, allocations: 141.7 kB / 0.7358 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.1996, allocations: 19.89 kB / 0.7359 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.1997, allocations: 17.41 kB / 0.7359 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1997, allocations: 4 kB / 0.7359 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1997, allocations: 0 / 0.7359 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1997, allocations: 0 / 0.7359 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007634/0.2005, allocations: 461.2 kB / 0.7363 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2005, allocations: 0 / 0.7363 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.2006, allocations: 19.98 kB / 0.7363 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2006, allocations: 4 kB / 0.7363 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2006, allocations: 0 / 0.7363 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.2006, allocations: 4 kB / 0.7363 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2006, allocations: 3.984 kB / 0.7363 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.2012, allocations: 359.4 kB / 0.7367 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.479e-05/0.2013, allocations: 27.91 kB / 0.7367 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.2013, allocations: 4 kB / 0.7367 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.2015, allocations: 11.98 kB / 0.7367 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.2015, allocations: 15.92 kB / 0.7367 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2015, allocations: 15.98 kB / 0.7368 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001213/0.2017, allocations: 131.1 kB / 0.7369 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2017, allocations: 4 kB / 0.7369 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00033/0.202, allocations: 27.95 kB / 0.7369 GB, free: 8.414 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001394/0.2021, allocations: 103.2 kB / 0.737 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.2025, allocations: 111.8 kB / 0.7371 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2025, allocations: 1 kB / 0.7371 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.2027, allocations: 48.03 kB / 0.7372 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.2033, allocations: 68.94 kB / 0.7372 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007329/0.204, allocations: 386.2 kB / 0.7376 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.2042, allocations: 112.1 kB / 0.7377 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.2042, allocations: 19.44 kB / 0.7377 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2042, allocations: 0 / 0.7377 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of Templates: time 0.004743/0.209, allocations: 2.14 MB / 0.7398 GB, free: 5.391 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.541299015283585] Failed to read output from testmodel.py, exit status != 0: 0.21783325402066112 0.232810435 0.036667951000000004 Calling exit ...