Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.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.001496/0.001496, allocations: 103.8 kB / 20.49 MB, free: 1.32 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.001423/0.001423, allocations: 217.5 kB / 23.79 MB, free: 4.465 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.398/1.398, allocations: 230.6 MB / 257.6 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.9249/0.9249, allocations: 150 MB / 464 MB, free: 10.18 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.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.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.00199/0.00199, allocations: 70.36 kB / 0.6426 GB, free: 9.254 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1796, allocations: 89.17 MB / 0.7296 GB, free: 156 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002102/0.1818, allocations: 0.8275 MB / 0.7304 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1834, allocations: 1.19 MB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.1834, allocations: 4 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.1834, allocations: 7.875 kB / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.284e-05/0.1835, allocations: 19.78 kB / 0.7316 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.1841, allocations: 155.7 kB / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.1843, allocations: 167.6 kB / 0.7319 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1844, allocations: 21.3 kB / 0.732 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1845, allocations: 71.77 kB / 0.732 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1847, allocations: 63.73 kB / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.1847, allocations: 16 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.1848, allocations: 23.98 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.1848, allocations: 27.91 kB / 0.7322 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.873e-05/0.1849, allocations: 59.78 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1852, allocations: 171.3 kB / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1852, allocations: 0 / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1852, allocations: 0 / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1852, allocations: 0 / 0.7324 GB, free: 13.33 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007728/0.1859, allocations: 422 kB / 0.7328 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.186, allocations: 12.03 kB / 0.7328 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.186, allocations: 12.89 kB / 0.7328 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.1866, allocations: 190.3 kB / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.1866, allocations: 12.38 kB / 0.733 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.1866, allocations: 12.38 kB / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.1869, allocations: 88.31 kB / 0.7331 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1869, allocations: 7.938 kB / 0.7331 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1869, allocations: 4 kB / 0.7331 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1869, allocations: 0 / 0.7331 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1871, allocations: 51.89 kB / 0.7332 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006915/0.1878, allocations: 312.2 kB / 0.7335 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1879, allocations: 38.5 kB / 0.7335 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.47e-05/0.188, allocations: 28.83 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.188, allocations: 3.984 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.1883, allocations: 91.48 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.1883, allocations: 0 / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.000433/0.1887, allocations: 137.5 kB / 0.7337 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1888, allocations: 59.39 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1889, allocations: 147.4 kB / 0.7339 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.189, allocations: 33.7 kB / 0.734 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.1891, allocations: 116.1 kB / 0.7341 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.1891, allocations: 35.72 kB / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/0.1892, allocations: 37.7 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1893, allocations: 327.2 kB / 0.7345 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.1895, allocations: 77.66 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.1898, allocations: 163 kB / 0.7347 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.1901, allocations: 204.6 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1901, allocations: 3.938 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005193/0.1907, allocations: 268.7 kB / 0.7351 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.1907, allocations: 38.06 kB / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1907, allocations: 8 kB / 0.7352 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1907, allocations: 4 kB / 0.7352 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1908, allocations: 23.92 kB / 0.7352 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.1908, allocations: 4 kB / 0.7352 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.1911, allocations: 51.78 kB / 0.7353 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.1911, allocations: 8 kB / 0.7353 GB, free: 10.06 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001246/0.1912, allocations: 137.7 kB / 0.7354 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.1913, allocations: 15.91 kB / 0.7354 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.1913, allocations: 12.72 kB / 0.7354 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1913, allocations: 4 kB / 0.7354 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1913, allocations: 0 / 0.7354 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1913, allocations: 3.938 kB / 0.7354 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000562/0.1919, allocations: 330.1 kB / 0.7358 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1919, allocations: 3.938 kB / 0.7358 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.192, allocations: 15.98 kB / 0.7358 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.192, allocations: 4 kB / 0.7358 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.192, allocations: 4 kB / 0.7358 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.192, allocations: 7.938 kB / 0.7358 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.192, allocations: 0 / 0.7358 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.1924, allocations: 243.3 kB / 0.736 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.1924, allocations: 7.953 kB / 0.736 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.1925, allocations: 0 / 0.736 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.47e-05/0.1926, allocations: 11.97 kB / 0.736 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.1926, allocations: 15.98 kB / 0.7361 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.1926, allocations: 4 kB / 0.7361 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.511e-05/0.1927, allocations: 109.2 kB / 0.7362 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1927, allocations: 0 / 0.7362 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002805/0.193, allocations: 39.81 kB / 0.7362 GB, free: 9.043 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0001493/0.1931, allocations: 99.89 kB / 0.7363 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.1935, allocations: 205 kB / 0.7365 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1935, allocations: 0 / 0.7365 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1937, allocations: 35.91 kB / 0.7365 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.194, allocations: 19.98 kB / 0.7365 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.1945, allocations: 268.9 kB / 0.7368 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.316e-05/0.1946, allocations: 94.19 kB / 0.7369 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.201e-05/0.1947, allocations: 16.64 kB / 0.7369 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.1947, allocations: 15.44 kB / 0.7369 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.1947, allocations: 0 / 0.7369 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.004994/0.1997, allocations: 1.818 MB / 0.7387 GB, free: 6.465 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.378088340861723] Failed to read output from testmodel.py, exit status != 0: 0.20826479909010231 0.222963981 0.034761286 Calling exit ...