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.001432/0.001432, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001467/0.001467, allocations: 212.4 kB / 22.99 MB, free: 4.605 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9987/0.9987, allocations: 149.9 MB / 463 MB, free: 10.36 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.002163/0.002163, allocations: 67.17 kB / 0.6416 GB, free: 9.621 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2205, allocations: 89.17 MB / 0.7286 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.004068/0.2246, allocations: 1.889 MB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.227, allocations: 1.205 MB / 0.7317 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.2271, allocations: 7.875 kB / 0.7317 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.2275, allocations: 95.56 kB / 0.7318 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.228, allocations: 139.4 kB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.2283, allocations: 131.6 kB / 0.732 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00032/0.2286, allocations: 227.4 kB / 0.7322 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.2288, allocations: 33.8 kB / 0.7323 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.229, allocations: 103.5 kB / 0.7324 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.2292, allocations: 107.6 kB / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.2292, allocations: 12 kB / 0.7325 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.2293, allocations: 47.98 kB / 0.7325 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2294, allocations: 67.75 kB / 0.7326 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.1e-05/0.2295, allocations: 71.53 kB / 0.7327 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.2299, allocations: 278.8 kB / 0.7329 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2299, allocations: 4 kB / 0.7329 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2299, allocations: 0 / 0.7329 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.2299, allocations: 3.938 kB / 0.7329 GB, free: 12.09 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.001073/0.231, allocations: 492.9 kB / 0.7334 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2311, allocations: 8.031 kB / 0.7334 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/0.2311, allocations: 28.75 kB / 0.7334 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.2316, allocations: 237 kB / 0.7337 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2316, allocations: 8 kB / 0.7337 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.2316, allocations: 8 kB / 0.7337 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.2319, allocations: 118.4 kB / 0.7338 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.232, allocations: 0 / 0.7338 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.232, allocations: 19.92 kB / 0.7338 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.232, allocations: 0 / 0.7338 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.2323, allocations: 87.92 kB / 0.7339 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007222/0.233, allocations: 376.1 kB / 0.7342 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.2333, allocations: 130.6 kB / 0.7344 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.2335, allocations: 56.8 kB / 0.7344 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.2335, allocations: 4 kB / 0.7344 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.2338, allocations: 123.3 kB / 0.7345 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.2338, allocations: 3.938 kB / 0.7346 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0006633/0.2345, allocations: 259.8 kB / 0.7348 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.2345, allocations: 59.39 kB / 0.7349 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.2349, allocations: 337.8 kB / 0.7352 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.2349, allocations: 29.7 kB / 0.7352 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2351, allocations: 140.4 kB / 0.7353 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.2351, allocations: 43.67 kB / 0.7354 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.219e-05/0.2352, allocations: 61.64 kB / 0.7354 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.2354, allocations: 338.8 kB / 0.7358 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.2356, allocations: 87.95 kB / 0.7358 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.2358, allocations: 133.1 kB / 0.736 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.2362, allocations: 196 kB / 0.7362 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2362, allocations: 3.938 kB / 0.7362 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005734/0.2368, allocations: 277.3 kB / 0.7364 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.2368, allocations: 11.94 kB / 0.7364 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.2368, allocations: 3.984 kB / 0.7364 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.2368, allocations: 4 kB / 0.7365 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.237, allocations: 48.06 kB / 0.7365 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.237, allocations: 3.938 kB / 0.7365 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.2372, allocations: 23.94 kB / 0.7365 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.2372, allocations: 12 kB / 0.7365 GB, free: 8.191 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.0001738/0.2374, allocations: 157.8 kB / 0.7367 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.2374, allocations: 27.8 kB / 0.7367 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/0.238, allocations: 215.5 kB / 0.7369 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.238, allocations: 4 kB / 0.7369 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.238, allocations: 0 / 0.7369 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.238, allocations: 0 / 0.7369 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/0.2388, allocations: 0.4963 MB / 0.7374 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2388, allocations: 0 / 0.7374 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.2389, allocations: 19.97 kB / 0.7374 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2389, allocations: 0 / 0.7374 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.2389, allocations: 0 / 0.7374 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2389, allocations: 8 kB / 0.7374 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.2389, allocations: 7.938 kB / 0.7374 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.2394, allocations: 303.7 kB / 0.7377 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.2395, allocations: 27.78 kB / 0.7378 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.2395, allocations: 8 kB / 0.7378 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2396, allocations: 7.984 kB / 0.7378 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.2397, allocations: 27.88 kB / 0.7378 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.2397, allocations: 4 kB / 0.7378 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002319/0.24, allocations: 221.2 kB / 0.738 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.24, allocations: 0 / 0.738 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003213/0.2403, allocations: 51.86 kB / 0.7381 GB, free: 6.559 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.001754/0.242, allocations: 439.2 kB / 0.7385 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005191/0.2426, allocations: 185.9 kB / 0.7387 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2426, allocations: 4.062 kB / 0.7387 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.2427, allocations: 71.89 kB / 0.7387 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.2432, allocations: 62.64 kB / 0.7388 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009291/0.2441, allocations: 413.9 kB / 0.7392 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.2443, allocations: 145.2 kB / 0.7393 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.2444, allocations: 33.92 kB / 0.7394 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.2445, allocations: 31.42 kB / 0.7394 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.2445, allocations: 3.938 kB / 0.7394 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of Templates: time 0.008682/0.2532, allocations: 3.413 MB / 0.7427 GB, free: 2.012 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: 5.978874469175935] Failed to read output from testmodel.py, exit status != 0: 0.2629394233226776 0.278499386 0.045466339 Calling exit ...