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.001771/0.001771, allocations: 110.5 kB / 17.12 MB, free: 5.926 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.002583/0.002583, allocations: 205 kB / 20.09 MB, free: 2.977 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 1.02/1.02, allocations: 150 MB / 459.5 MB, free: 5.336 MB / 350.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.002007/0.002007, allocations: 67.8 kB / 0.6366 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2231, allocations: 89.14 MB / 0.7236 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.004744/0.2279, allocations: 1.94 MB / 0.7255 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00324/0.2311, allocations: 1.286 MB / 0.7268 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.2314, allocations: 0 / 0.7268 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006189/0.232, allocations: 91.58 kB / 0.7269 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006291/0.2326, allocations: 135.4 kB / 0.727 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.2331, allocations: 123.6 kB / 0.7271 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.2336, allocations: 235.4 kB / 0.7273 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.2339, allocations: 41.59 kB / 0.7274 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.2342, allocations: 107.5 kB / 0.7275 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.2344, allocations: 111.5 kB / 0.7276 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.2344, allocations: 16 kB / 0.7276 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.2346, allocations: 51.98 kB / 0.7277 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2347, allocations: 59.81 kB / 0.7277 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.2349, allocations: 95.34 kB / 0.7278 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.2355, allocations: 274.9 kB / 0.7281 GB, free: 14.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2355, allocations: 0 / 0.7281 GB, free: 14.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2355, allocations: 4 kB / 0.7281 GB, free: 14.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.098e-05/0.2355, allocations: 3.984 kB / 0.7281 GB, free: 14.95 MB / 0.545 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.00143/0.2369, allocations: 0.5488 MB / 0.7286 GB, free: 14.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.237, allocations: 12.03 kB / 0.7286 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.2371, allocations: 28.75 kB / 0.7287 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.2377, allocations: 295.4 kB / 0.7289 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.2377, allocations: 7.938 kB / 0.7289 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.2378, allocations: 19.98 kB / 0.729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.2381, allocations: 113.6 kB / 0.7291 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2381, allocations: 0 / 0.7291 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.2382, allocations: 11.92 kB / 0.7291 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2382, allocations: 0 / 0.7291 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.2385, allocations: 87.92 kB / 0.7292 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009526/0.2394, allocations: 456.4 kB / 0.7296 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.2398, allocations: 122.6 kB / 0.7297 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.24, allocations: 52.83 kB / 0.7298 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.24, allocations: 4 kB / 0.7298 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/0.2404, allocations: 127.4 kB / 0.7299 GB, free: 12.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.2404, allocations: 3.938 kB / 0.7299 GB, free: 12.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0007761/0.2412, allocations: 246.7 kB / 0.7301 GB, free: 12.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.2412, allocations: 63.39 kB / 0.7302 GB, free: 12.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.2417, allocations: 338.6 kB / 0.7305 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.2417, allocations: 29.7 kB / 0.7305 GB, free: 12.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.2419, allocations: 144.4 kB / 0.7307 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.2419, allocations: 39.73 kB / 0.7307 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.242, allocations: 57.66 kB / 0.7308 GB, free: 11.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.2422, allocations: 334.8 kB / 0.7311 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.2425, allocations: 91.94 kB / 0.7312 GB, free: 11.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.2428, allocations: 145.5 kB / 0.7313 GB, free: 11.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.2432, allocations: 195.7 kB / 0.7315 GB, free: 11.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.2432, allocations: 0 / 0.7315 GB, free: 11.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006409/0.2438, allocations: 281.4 kB / 0.7318 GB, free: 10.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.2439, allocations: 4 kB / 0.7318 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2439, allocations: 4 kB / 0.7318 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.2439, allocations: 0 / 0.7318 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.2441, allocations: 43.91 kB / 0.7318 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.2441, allocations: 4 kB / 0.7318 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.2443, allocations: 19.94 kB / 0.7318 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.2444, allocations: 15.98 kB / 0.7319 GB, free: 10.81 MB / 0.545 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.0001991/0.2446, allocations: 165.5 kB / 0.732 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.2446, allocations: 27.8 kB / 0.732 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.563e-05/0.2447, allocations: 26.17 kB / 0.7321 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2447, allocations: 4 kB / 0.7321 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2447, allocations: 0 / 0.7321 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2447, allocations: 0 / 0.7321 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009399/0.2456, allocations: 0.5581 MB / 0.7326 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2456, allocations: 3.984 kB / 0.7326 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.2458, allocations: 19.98 kB / 0.7326 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2458, allocations: 0 / 0.7326 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2458, allocations: 0 / 0.7326 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-06/0.2458, allocations: 7.938 kB / 0.7326 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2458, allocations: 0 / 0.7326 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.2464, allocations: 297 kB / 0.7329 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.2465, allocations: 105 kB / 0.733 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.2465, allocations: 4 kB / 0.733 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.2467, allocations: 11.98 kB / 0.733 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/0.2468, allocations: 15.98 kB / 0.7331 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.2468, allocations: 11.98 kB / 0.7331 GB, free: 9.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002475/0.247, allocations: 209.9 kB / 0.7333 GB, free: 9.262 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.247, allocations: 0 / 0.7333 GB, free: 9.262 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003554/0.2474, allocations: 59.86 kB / 0.7333 GB, free: 9.203 MB / 0.545 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 (16): * Single equations (assignments): 11 * 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.001725/0.2491, allocations: 430.7 kB / 0.7337 GB, free: 8.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005778/0.2497, allocations: 170.5 kB / 0.7339 GB, free: 8.789 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2497, allocations: 4.312 kB / 0.7339 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.2499, allocations: 67.91 kB / 0.734 GB, free: 8.719 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.2503, allocations: 62.62 kB / 0.734 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009276/0.2513, allocations: 411.7 kB / 0.7344 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.2518, allocations: 0.7519 MB / 0.7352 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.2519, allocations: 37.94 kB / 0.7352 GB, free: 7.418 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.252, allocations: 23.44 kB / 0.7352 GB, free: 7.395 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.252, allocations: 0 / 0.7352 GB, free: 7.395 MB / 0.545 GB Notification: Performance of Templates: time 0.009051/0.261, allocations: 3.1 MB / 0.7382 GB, free: 4.309 MB / 0.545 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: 6.311453145928681] Failed to read output from testmodel.py, exit status != 0: 0.27017014496959746 0.28744139699999993 0.04863953 Calling exit ...