Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.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.001298/0.001298, allocations: 104.3 kB / 20.45 MB, free: 1.254 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.001464/0.001464, allocations: 213.2 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.425/1.425, 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.9606/0.9606, allocations: 149.9 MB / 463.8 MB, free: 10.3 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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change") [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.002315/0.002315, allocations: 63.16 kB / 0.6423 GB, free: 9.598 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1794, allocations: 89.17 MB / 0.7294 GB, free: 500 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003978/0.1834, allocations: 1.895 MB / 0.7312 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1859, allocations: 1.2 MB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1861, allocations: 4 kB / 0.7324 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.1865, allocations: 99.55 kB / 0.7325 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004807/0.187, allocations: 139.4 kB / 0.7326 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.1873, allocations: 127.6 kB / 0.7328 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.1877, allocations: 231.4 kB / 0.733 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1879, allocations: 29.8 kB / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.1881, allocations: 103.6 kB / 0.7331 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1883, allocations: 111.5 kB / 0.7332 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.1883, allocations: 16 kB / 0.7332 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1885, allocations: 47.98 kB / 0.7333 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1886, allocations: 63.77 kB / 0.7333 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1887, allocations: 75.52 kB / 0.7334 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.1891, allocations: 278.8 kB / 0.7337 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1892, allocations: 0 / 0.7337 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1892, allocations: 0 / 0.7337 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.1892, allocations: 0 / 0.7337 GB, free: 12.07 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001085/0.1903, allocations: 0.4891 MB / 0.7342 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1903, allocations: 11.97 kB / 0.7342 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.936e-05/0.1904, allocations: 28.75 kB / 0.7342 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.1908, allocations: 229.1 kB / 0.7344 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1908, allocations: 8 kB / 0.7344 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.1909, allocations: 12 kB / 0.7344 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.1912, allocations: 122.7 kB / 0.7345 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1912, allocations: 0 / 0.7345 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.1912, allocations: 11.92 kB / 0.7346 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1912, allocations: 8 kB / 0.7346 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.1915, allocations: 83.92 kB / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/0.1923, allocations: 376.1 kB / 0.735 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.1927, allocations: 122.7 kB / 0.7351 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.1929, allocations: 60.81 kB / 0.7352 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1929, allocations: 0 / 0.7352 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.1932, allocations: 123.3 kB / 0.7353 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.1932, allocations: 4 kB / 0.7353 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.000718/0.1939, allocations: 255.9 kB / 0.7355 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.194, allocations: 55.39 kB / 0.7356 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.1944, allocations: 341.8 kB / 0.7359 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.1944, allocations: 33.7 kB / 0.736 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.1946, allocations: 144.4 kB / 0.7361 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/0.1947, allocations: 39.69 kB / 0.7361 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.1948, allocations: 61.64 kB / 0.7362 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002511/0.1951, allocations: 338.8 kB / 0.7365 GB, free: 9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.1954, allocations: 87.89 kB / 0.7366 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.1957, allocations: 133.1 kB / 0.7367 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.1962, allocations: 191.1 kB / 0.7369 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.1962, allocations: 4 kB / 0.7369 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006211/0.1968, allocations: 282.3 kB / 0.7372 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1968, allocations: 11.94 kB / 0.7372 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1968, allocations: 0 / 0.7372 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1968, allocations: 4 kB / 0.7372 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.1971, allocations: 39.91 kB / 0.7372 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.1971, allocations: 4 kB / 0.7372 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.1973, allocations: 23.94 kB / 0.7373 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.1973, allocations: 8 kB / 0.7373 GB, free: 8.188 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.000183/0.1975, allocations: 169.8 kB / 0.7374 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.1976, allocations: 23.8 kB / 0.7375 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005371/0.1981, allocations: 221.8 kB / 0.7377 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1981, allocations: 4 kB / 0.7377 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1981, allocations: 0 / 0.7377 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1981, allocations: 3.938 kB / 0.7377 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009213/0.199, allocations: 0.498 MB / 0.7382 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.199, allocations: 3.984 kB / 0.7382 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.1991, allocations: 11.98 kB / 0.7382 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1991, allocations: 4 kB / 0.7382 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1992, allocations: 4 kB / 0.7382 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1992, allocations: 0 / 0.7382 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1992, allocations: 4 kB / 0.7382 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005364/0.1997, allocations: 309.4 kB / 0.7385 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.1998, allocations: 31.78 kB / 0.7385 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.1998, allocations: 4 kB / 0.7385 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.2, allocations: 19.92 kB / 0.7385 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.2, allocations: 23.88 kB / 0.7386 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.2001, allocations: 7.984 kB / 0.7386 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003781/0.2004, allocations: 209.2 kB / 0.7388 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2004, allocations: 0 / 0.7388 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003849/0.2008, allocations: 55.92 kB / 0.7388 GB, free: 6.535 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001709/0.2025, allocations: 438 kB / 0.7392 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005342/0.2031, allocations: 182.2 kB / 0.7394 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2031, allocations: 0 / 0.7394 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.2033, allocations: 71.89 kB / 0.7395 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.2037, allocations: 60.83 kB / 0.7395 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008845/0.2046, allocations: 449.6 kB / 0.74 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.2048, allocations: 137.2 kB / 0.7401 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.2048, allocations: 31.42 kB / 0.7401 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2048, allocations: 4 kB / 0.7401 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of Templates: time 0.007196/0.212, allocations: 3.452 MB / 0.7435 GB, free: 1.918 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.499638788867742] Failed to read output from testmodel.py, exit status != 0: 0.2215821510180831 0.23748923900000002 0.044988714000000006 Calling exit ...