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.001344/0.001344, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001555/0.001555, allocations: 169.7 kB / 23.27 MB, free: 1.219 MB / 18.57 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.8777/0.8777, allocations: 177.2 MB / 203.7 MB, free: 5.465 MB / 186.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-535:34: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-535:42: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.7885/0.7885, allocations: 154.9 MB / 415.1 MB, free: 260 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.5211 GB, free: 1.465 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.063e-05, allocations: 2.859 kB / 0.5211 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.003674/0.003704, allocations: 1.927 MB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.005847, allocations: 1.235 MB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.006011, allocations: 3.938 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004273/0.006439, allocations: 103.5 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004469/0.006886, allocations: 139.9 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.007265, allocations: 136 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000341/0.007606, allocations: 227.4 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.007771, allocations: 26.67 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007302/0.008501, allocations: 180.1 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.008668, allocations: 89.23 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.008702, allocations: 12 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.008851, allocations: 63.83 kB / 0.5252 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.008934, allocations: 60.7 kB / 0.5252 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/0.009003, allocations: 55.83 kB / 0.5253 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.009357, allocations: 191.2 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.009362, allocations: 5.156 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.173e-06/0.009364, allocations: 0 / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.009369, allocations: 0 / 0.5255 GB, free: 13.07 MB / 0.4948 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.000737/0.01011, allocations: 0.5708 MB / 0.526 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.01015, allocations: 12.03 kB / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.01023, allocations: 36.78 kB / 0.5261 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.01052, allocations: 224.4 kB / 0.5263 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.01055, allocations: 12.12 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.01057, allocations: 13.28 kB / 0.5263 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.01078, allocations: 96.02 kB / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.01079, allocations: 0 / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.0108, allocations: 1.344 kB / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.01081, allocations: 4 kB / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.0109, allocations: 43.83 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.01148, allocations: 370.8 kB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.01166, allocations: 86.98 kB / 0.5269 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.01171, allocations: 27.72 kB / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.01173, allocations: 10.14 kB / 0.5269 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.01189, allocations: 89 kB / 0.527 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.01189, allocations: 0 / 0.527 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.000323/0.01221, allocations: 171.6 kB / 0.5272 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.01225, allocations: 55.41 kB / 0.5272 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.01253, allocations: 321.5 kB / 0.5275 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.01255, allocations: 33.7 kB / 0.5276 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.01267, allocations: 187.3 kB / 0.5277 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.01272, allocations: 51.66 kB / 0.5278 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/0.01281, allocations: 64.25 kB / 0.5278 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.01297, allocations: 0.5117 MB / 0.5283 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.01304, allocations: 24.92 kB / 0.5284 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.01314, allocations: 98 kB / 0.5285 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.0133, allocations: 118.9 kB / 0.5286 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.0133, allocations: 0 / 0.5286 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002934/0.0136, allocations: 182.5 kB / 0.5288 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.01361, allocations: 9.375 kB / 0.5288 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01362, allocations: 0 / 0.5288 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.01364, allocations: 4 kB / 0.5288 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.01381, allocations: 42.36 kB / 0.5288 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.01382, allocations: 11.92 kB / 0.5288 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.481e-05/0.01392, allocations: 23.83 kB / 0.5288 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.01394, allocations: 8 kB / 0.5288 GB, free: 9.379 MB / 0.4948 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.0001272/0.01407, allocations: 180.5 kB / 0.529 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.01411, allocations: 30.73 kB / 0.529 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.01446, allocations: 147.6 kB / 0.5292 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.01447, allocations: 4 kB / 0.5292 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01447, allocations: 7.922 kB / 0.5292 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.01447, allocations: 0 / 0.5292 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.01493, allocations: 436.3 kB / 0.5296 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01493, allocations: 4.625 kB / 0.5296 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.01499, allocations: 15.98 kB / 0.5296 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.01499, allocations: 5.281 kB / 0.5296 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.015, allocations: 7.938 kB / 0.5296 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.01501, allocations: 7.984 kB / 0.5297 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01501, allocations: 2.688 kB / 0.5297 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.01521, allocations: 296.1 kB / 0.5299 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.01524, allocations: 23.75 kB / 0.53 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.01526, allocations: 15.92 kB / 0.53 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.01533, allocations: 7.938 kB / 0.53 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.01537, allocations: 19.97 kB / 0.53 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.01538, allocations: 11.98 kB / 0.53 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.704e-05/0.01548, allocations: 195.8 kB / 0.5302 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01548, allocations: 0 / 0.5302 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002234/0.01571, allocations: 55.92 kB / 0.5303 GB, free: 7.875 MB / 0.4948 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.0008769/0.01658, allocations: 396.8 kB / 0.5306 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.01676, allocations: 115.3 kB / 0.5307 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01676, allocations: 0 / 0.5307 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.606e-05/0.01682, allocations: 48.5 kB / 0.5308 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.0171, allocations: 61.92 kB / 0.5309 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.01757, allocations: 374.6 kB / 0.5312 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.837e-05/0.01762, allocations: 84.31 kB / 0.5313 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.644e-05/0.01769, allocations: 29.92 kB / 0.5313 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.01779, allocations: 117.2 kB / 0.5314 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.01779, allocations: 0 / 0.5314 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of Templates: time 0.005447/0.02324, allocations: 3.563 MB / 0.5349 GB, free: 3.449 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.465859407093376]