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.001317/0.001317, allocations: 83.62 kB / 19.16 MB, free: 2.535 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.001407/0.001407, allocations: 173.4 kB / 22.44 MB, free: 5.34 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.383/1.383, allocations: 177.2 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 1.27/1.27, allocations: 155 MB / 414.2 MB, free: 4.914 MB / 382.1 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 178] 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.002477/0.002477, allocations: 67.12 kB / 0.6191 GB, free: 4.152 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5775/0.58, allocations: 102 MB / 0.7187 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.003517/0.5835, allocations: 1.902 MB / 0.7206 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002689/0.5862, allocations: 1.217 MB / 0.7218 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.5863, allocations: 5.156 kB / 0.7218 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.5868, allocations: 94.5 kB / 0.7219 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0005817/0.5874, allocations: 143.5 kB / 0.722 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.5879, allocations: 130 kB / 0.7221 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.5884, allocations: 225.5 kB / 0.7224 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.5885, allocations: 35.41 kB / 0.7224 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.5889, allocations: 138.3 kB / 0.7225 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.5891, allocations: 108.1 kB / 0.7226 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.5892, allocations: 18.34 kB / 0.7226 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.5894, allocations: 50.45 kB / 0.7227 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.5895, allocations: 64.77 kB / 0.7227 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.5896, allocations: 72.05 kB / 0.7228 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005842/0.5902, allocations: 303.6 kB / 0.7231 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.5902, allocations: 0.6562 kB / 0.7231 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5902, allocations: 1.219 kB / 0.7231 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.5902, allocations: 0 / 0.7231 GB, free: 15.03 MB / 0.6231 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.00136/0.5916, allocations: 493.7 kB / 0.7236 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5916, allocations: 15.16 kB / 0.7236 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.5918, allocations: 25.52 kB / 0.7236 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.5923, allocations: 229.1 kB / 0.7238 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.5923, allocations: 5 kB / 0.7238 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.5923, allocations: 12.41 kB / 0.7239 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.5928, allocations: 120.5 kB / 0.724 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.5928, allocations: 0.5 kB / 0.724 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.5928, allocations: 9.719 kB / 0.724 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.5928, allocations: 2.875 kB / 0.724 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.5932, allocations: 86.55 kB / 0.7241 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.5943, allocations: 375.6 kB / 0.7244 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.5948, allocations: 125.4 kB / 0.7245 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.595, allocations: 51.94 kB / 0.7246 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.595, allocations: 6.5 kB / 0.7246 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004388/0.5955, allocations: 128.5 kB / 0.7247 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 2.384e-06/0.5955, allocations: 0 / 0.7247 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=16): time 0.0009762/0.5965, allocations: 258.9 kB / 0.725 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.5965, allocations: 56.2 kB / 0.725 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.597, allocations: 337.9 kB / 0.7253 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.5971, allocations: 40.95 kB / 0.7254 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.5972, allocations: 138.7 kB / 0.7255 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.5973, allocations: 46.17 kB / 0.7256 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.5974, allocations: 63.28 kB / 0.7256 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.5976, allocations: 334 kB / 0.7259 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.5978, allocations: 86.03 kB / 0.726 GB, free: 13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.5981, allocations: 135.2 kB / 0.7261 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.5986, allocations: 193.9 kB / 0.7263 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5986, allocations: 0 / 0.7263 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007243/0.5994, allocations: 288.4 kB / 0.7266 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5994, allocations: 5.156 kB / 0.7266 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5994, allocations: 1.281 kB / 0.7266 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.5994, allocations: 3.031 kB / 0.7266 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.5997, allocations: 51.95 kB / 0.7267 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.5997, allocations: 2.625 kB / 0.7267 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.5999, allocations: 24.34 kB / 0.7267 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.5999, allocations: 10.56 kB / 0.7267 GB, free: 12.67 MB / 0.6231 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.0001887/0.6001, allocations: 170.2 kB / 0.7269 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.6001, allocations: 30.34 kB / 0.7269 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005755/0.6007, allocations: 210.5 kB / 0.7271 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.6007, allocations: 5.328 kB / 0.7271 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6007, allocations: 1.594 kB / 0.7271 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6007, allocations: 1.406 kB / 0.7271 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.6018, allocations: 0.4911 MB / 0.7276 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6018, allocations: 0 / 0.7276 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.6019, allocations: 16.09 kB / 0.7276 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.6019, allocations: 1.5 kB / 0.7276 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.6019, allocations: 6.75 kB / 0.7276 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.6019, allocations: 1.344 kB / 0.7276 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.6019, allocations: 0.8906 kB / 0.7276 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000647/0.6026, allocations: 308 kB / 0.7279 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.6026, allocations: 35.16 kB / 0.7279 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.6027, allocations: 7.672 kB / 0.7279 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.6029, allocations: 12.41 kB / 0.728 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.6029, allocations: 16.58 kB / 0.728 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.603, allocations: 6.297 kB / 0.728 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002878/0.6033, allocations: 214.5 kB / 0.7282 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.6033, allocations: 0 / 0.7282 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003945/0.6036, allocations: 55.3 kB / 0.7282 GB, free: 11.73 MB / 0.6231 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.001809/0.6055, allocations: 454.6 kB / 0.7287 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000619/0.6061, allocations: 185.2 kB / 0.7288 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6061, allocations: 0 / 0.7288 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.6063, allocations: 72.47 kB / 0.7289 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.6068, allocations: 60.78 kB / 0.729 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.6077, allocations: 414.3 kB / 0.7294 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.6079, allocations: 147.4 kB / 0.7295 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.6081, allocations: 34.8 kB / 0.7295 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.779e-05/0.6081, allocations: 26.11 kB / 0.7296 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.6081, allocations: 0 / 0.7296 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of Templates: time 0.009697/0.6178, allocations: 3.291 MB / 0.7328 GB, free: 10.68 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.438107937574387] Failed to read output from testmodel.py, exit status != 0: 0.6282539386302233 0.644636518 0.050882917999999944 Calling exit ...