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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 114.4 kB / 19.59 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 195.1 kB / 22.85 MB, free: 5.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9693/0.9693, allocations: 149.5 MB / 456.3 MB, free: 1.293 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 74.23 kB / 0.6324 GB, free: 9.129 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2033, allocations: 87.87 MB / 0.7182 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003976/0.2073, allocations: 1.93 MB / 0.7201 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.2096, allocations: 1.146 MB / 0.7212 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.2097, allocations: 7.938 kB / 0.7212 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.2102, allocations: 95.56 kB / 0.7213 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.2105, allocations: 95.58 kB / 0.7214 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.2111, allocations: 151.6 kB / 0.7216 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.2114, allocations: 223.4 kB / 0.7218 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.2116, allocations: 33.78 kB / 0.7218 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.2118, allocations: 107.6 kB / 0.7219 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.2119, allocations: 111.5 kB / 0.722 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.212, allocations: 16 kB / 0.722 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.2121, allocations: 51.97 kB / 0.7221 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.895e-05/0.2122, allocations: 63.75 kB / 0.7221 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.2123, allocations: 87.42 kB / 0.7222 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.2127, allocations: 270.9 kB / 0.7225 GB, free: 12.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2127, allocations: 7.938 kB / 0.7225 GB, free: 12.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2127, allocations: 0 / 0.7225 GB, free: 12.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2127, allocations: 0 / 0.7225 GB, free: 12.79 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.00102/0.2137, allocations: 473.1 kB / 0.7229 GB, free: 12.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.2138, allocations: 8.625 kB / 0.7229 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7e-05/0.2139, allocations: 28.75 kB / 0.723 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.2143, allocations: 229.1 kB / 0.7232 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.2143, allocations: 8 kB / 0.7232 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.2143, allocations: 15.98 kB / 0.7232 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.2147, allocations: 114.9 kB / 0.7233 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2147, allocations: 4 kB / 0.7233 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.2147, allocations: 11.88 kB / 0.7233 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2147, allocations: 0 / 0.7233 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.215, allocations: 95.8 kB / 0.7234 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.2158, allocations: 415.5 kB / 0.7238 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.2162, allocations: 130.6 kB / 0.7239 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.2164, allocations: 48.83 kB / 0.724 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.2164, allocations: 0 / 0.724 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003439/0.2167, allocations: 140.8 kB / 0.7241 GB, free: 10.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.2167, allocations: 0 / 0.7241 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0007658/0.2175, allocations: 249.3 kB / 0.7244 GB, free: 10.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.2176, allocations: 51.41 kB / 0.7244 GB, free: 10.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.2179, allocations: 329.8 kB / 0.7247 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.218, allocations: 33.7 kB / 0.7248 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.2181, allocations: 136.4 kB / 0.7249 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.2182, allocations: 39.75 kB / 0.7249 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.084e-05/0.2182, allocations: 53.7 kB / 0.725 GB, free: 10.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2184, allocations: 334.8 kB / 0.7253 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.2186, allocations: 87.94 kB / 0.7254 GB, free: 9.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.2189, allocations: 133 kB / 0.7255 GB, free: 9.492 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.2193, allocations: 190.3 kB / 0.7257 GB, free: 9.289 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2193, allocations: 0 / 0.7257 GB, free: 9.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006081/0.2199, allocations: 280.4 kB / 0.726 GB, free: 9.012 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.22, allocations: 8 kB / 0.726 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.22, allocations: 7.922 kB / 0.726 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.22, allocations: 8.156 kB / 0.726 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.2202, allocations: 47.91 kB / 0.726 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.2202, allocations: 4 kB / 0.726 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.2204, allocations: 23.92 kB / 0.7261 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.2204, allocations: 7.984 kB / 0.7261 GB, free: 8.906 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.0001769/0.2206, allocations: 157.8 kB / 0.7262 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.2206, allocations: 27.75 kB / 0.7262 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005538/0.2212, allocations: 210.8 kB / 0.7264 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.2212, allocations: 4 kB / 0.7264 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.2212, allocations: 7.922 kB / 0.7264 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2212, allocations: 0 / 0.7264 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009144/0.2221, allocations: 0.5169 MB / 0.727 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2221, allocations: 4 kB / 0.727 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-05/0.2222, allocations: 19.92 kB / 0.727 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2222, allocations: 4 kB / 0.727 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2222, allocations: 0 / 0.727 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2222, allocations: 0 / 0.727 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2222, allocations: 0 / 0.727 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.2228, allocations: 307.2 kB / 0.7273 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.2228, allocations: 23.8 kB / 0.7273 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.2228, allocations: 8 kB / 0.7273 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.223, allocations: 7.984 kB / 0.7273 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.2231, allocations: 23.97 kB / 0.7273 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2231, allocations: 4 kB / 0.7273 GB, free: 7.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002222/0.2233, allocations: 217.1 kB / 0.7275 GB, free: 7.309 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2233, allocations: 0 / 0.7275 GB, free: 7.309 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003299/0.2236, allocations: 47.94 kB / 0.7276 GB, free: 7.262 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.001835/0.2255, allocations: 437.9 kB / 0.728 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007769/0.2262, allocations: 167.8 kB / 0.7282 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2262, allocations: 4 kB / 0.7282 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003604/0.2266, allocations: 68.2 kB / 0.7282 GB, free: 6.754 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.2272, allocations: 51.66 kB / 0.7283 GB, free: 6.707 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.2283, allocations: 400 kB / 0.7287 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.2287, allocations: 0.7519 MB / 0.7294 GB, free: 5.508 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.2288, allocations: 29.94 kB / 0.7294 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.2289, allocations: 23.44 kB / 0.7295 GB, free: 5.457 MB / 0.545 GB Notification: Performance of SimCode: time 8.51e-07/0.2289, allocations: 0 / 0.7295 GB, free: 5.457 MB / 0.545 GB Notification: Performance of Templates: time 0.007934/0.2368, allocations: 3.135 MB / 0.7325 GB, free: 2.348 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: 5.929091420955956] Failed to read output from testmodel.py, exit status != 0: 0.24578477442264557 0.26161309799999993 0.04532199 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f61418017b0>