Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.000786/0.000786, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.000808/0.000808, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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 0.8771/0.8771, allocations: 230.6 MB / 256.8 MB, free: 3.461 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7343/0.7343, allocations: 203.8 MB / 0.5049 GB, free: 0.707 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 660] "Notification: IDEAS 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.0008923/0.0008923, allocations: 71.89 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4305, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.00249/0.433, allocations: 1.949 MB / 0.821 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.4343, allocations: 1.306 MB / 0.8223 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.208e-05/0.4344, allocations: 1.188 kB / 0.8223 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.4347, allocations: 97.59 kB / 0.8224 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.435, allocations: 137.2 kB / 0.8225 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.4352, allocations: 132.7 kB / 0.8226 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.4354, allocations: 231 kB / 0.8228 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.4356, allocations: 36.08 kB / 0.8229 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.4357, allocations: 105.9 kB / 0.823 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.4358, allocations: 111.5 kB / 0.8231 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.4359, allocations: 14.78 kB / 0.8231 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.923e-05/0.436, allocations: 59.36 kB / 0.8232 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.436, allocations: 62.8 kB / 0.8232 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.4361, allocations: 93.94 kB / 0.8233 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.4364, allocations: 280.1 kB / 0.8236 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4364, allocations: 0.6562 kB / 0.8236 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4364, allocations: 0 / 0.8236 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4364, allocations: 0.5938 kB / 0.8236 GB, free: 22.42 MB / 0.6355 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.0006404/0.4371, allocations: 496.5 kB / 0.8241 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.4371, allocations: 15.97 kB / 0.8241 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.4372, allocations: 24.19 kB / 0.8241 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.4374, allocations: 236.1 kB / 0.8243 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4374, allocations: 9.844 kB / 0.8243 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.4375, allocations: 11.38 kB / 0.8243 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.4377, allocations: 120.6 kB / 0.8244 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.4377, allocations: 0 / 0.8244 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.4377, allocations: 8.734 kB / 0.8245 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4377, allocations: 2.875 kB / 0.8245 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.4378, allocations: 89.77 kB / 0.8245 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.4383, allocations: 422.2 kB / 0.8249 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.4385, allocations: 122.9 kB / 0.8251 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.092e-05/0.4386, allocations: 54.81 kB / 0.8251 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.4386, allocations: 3.203 kB / 0.8251 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.4388, allocations: 122.7 kB / 0.8252 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.4388, allocations: 0 / 0.8252 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0003847/0.4392, allocations: 257.9 kB / 0.8255 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.4392, allocations: 54.47 kB / 0.8255 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.4395, allocations: 340.8 kB / 0.8259 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.4395, allocations: 32.7 kB / 0.8259 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.4395, allocations: 142.6 kB / 0.826 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.4396, allocations: 41.56 kB / 0.8261 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.4396, allocations: 55.59 kB / 0.8261 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.374e-05/0.4397, allocations: 337.9 kB / 0.8264 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.4398, allocations: 88.95 kB / 0.8265 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.4399, allocations: 141.8 kB / 0.8267 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.4401, allocations: 188.8 kB / 0.8268 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4401, allocations: 0 / 0.8268 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003274/0.4405, allocations: 281.8 kB / 0.8271 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4405, allocations: 5.906 kB / 0.8271 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4405, allocations: 5.797 kB / 0.8271 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4405, allocations: 3.5 kB / 0.8271 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.4406, allocations: 45.77 kB / 0.8272 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4406, allocations: 2.125 kB / 0.8272 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.4407, allocations: 22.73 kB / 0.8272 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.4407, allocations: 10.06 kB / 0.8272 GB, free: 20.04 MB / 0.6355 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 9.131e-05/0.4408, allocations: 163 kB / 0.8274 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.4408, allocations: 34.98 kB / 0.8274 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.4411, allocations: 206.9 kB / 0.8276 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4411, allocations: 2.281 kB / 0.8276 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4411, allocations: 0.5625 kB / 0.8276 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4411, allocations: 0.5625 kB / 0.8276 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.4416, allocations: 0.5208 MB / 0.8281 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4416, allocations: 8.531 kB / 0.8281 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.4417, allocations: 17.45 kB / 0.8281 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4417, allocations: 1.656 kB / 0.8281 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4417, allocations: 3.031 kB / 0.8281 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.4417, allocations: 0.7031 kB / 0.8281 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4417, allocations: 4.938 kB / 0.8281 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.4419, allocations: 300.2 kB / 0.8284 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.4419, allocations: 22.89 kB / 0.8284 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.442, allocations: 7.969 kB / 0.8285 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.442, allocations: 11.59 kB / 0.8285 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.4421, allocations: 21.11 kB / 0.8285 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.4421, allocations: 9.922 kB / 0.8285 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001545/0.4423, allocations: 213 kB / 0.8287 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.4423, allocations: 4 kB / 0.8287 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002062/0.4425, allocations: 54 kB / 0.8288 GB, free: 19.06 MB / 0.6355 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.0006692/0.4431, allocations: 423.4 kB / 0.8292 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.4434, allocations: 174.4 kB / 0.8293 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4434, allocations: 4.062 kB / 0.8293 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.4435, allocations: 64.53 kB / 0.8294 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.4438, allocations: 56.09 kB / 0.8294 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.4444, allocations: 446.2 kB / 0.8299 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.4445, allocations: 0.7517 MB / 0.8306 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.4445, allocations: 32.84 kB / 0.8306 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.4445, allocations: 0 / 0.8306 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.004587/0.4491, allocations: 3.361 MB / 0.8339 GB, free: 17.4 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.732905996963382] Failed to read output from testmodel.py, exit status != 0: 0.4541546110995114 0.46247010099999997 0.024283983000000002 Calling exit ...