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.001435/0.001435, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001423/0.001423, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.043/1.043, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8475/0.8475, allocations: 154.8 MB / 414.7 MB, free: 484 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.705e-06/2.705e-06, allocations: 0 / 0.5206 GB, free: 1.941 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.511e-05/3.781e-05, allocations: 4.141 kB / 0.5206 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.004095/0.004133, allocations: 1.947 MB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002425/0.006558, allocations: 1.26 MB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.006681, allocations: 7.938 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.007033, allocations: 97.91 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.007365, allocations: 135.3 kB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.007629, allocations: 139.5 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.007892, allocations: 227.3 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.008028, allocations: 34.28 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.008188, allocations: 133.1 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.008306, allocations: 87.77 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.008331, allocations: 12 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.008442, allocations: 63.89 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.003e-05/0.008512, allocations: 68.72 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.00857, allocations: 47.84 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.008842, allocations: 200.1 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.008845, allocations: 4 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008846, allocations: 0 / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.008852, allocations: 1 kB / 0.5249 GB, free: 13.51 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.0006778/0.00953, allocations: 0.5695 MB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.009572, allocations: 8.75 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.00964, allocations: 32.8 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.009927, allocations: 221 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.009947, allocations: 15.88 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.009966, allocations: 12 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.01015, allocations: 101.8 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.01016, allocations: 5.75 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.01018, allocations: 11.98 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.01019, allocations: 0 / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.083e-05/0.01027, allocations: 39.91 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.0108, allocations: 421.3 kB / 0.5263 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.01097, allocations: 85.69 kB / 0.5264 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.01102, allocations: 36.98 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.01103, allocations: 4 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.01118, allocations: 107.6 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.01118, allocations: 0 / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0002984/0.01148, allocations: 174.1 kB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.01152, allocations: 60.81 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.01175, allocations: 328.2 kB / 0.5271 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.01177, allocations: 37.69 kB / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.036e-05/0.01186, allocations: 183.2 kB / 0.5273 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.01191, allocations: 49.2 kB / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.01199, allocations: 63.34 kB / 0.5274 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.01213, allocations: 0.5079 MB / 0.5279 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.0122, allocations: 35.97 kB / 0.5279 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.0123, allocations: 96.53 kB / 0.528 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.01245, allocations: 128.9 kB / 0.5281 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01245, allocations: 6.688 kB / 0.5281 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002457/0.0127, allocations: 201.2 kB / 0.5283 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.01271, allocations: 8 kB / 0.5283 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01272, allocations: 0 / 0.5283 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.01273, allocations: 9.156 kB / 0.5283 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01288, allocations: 47.91 kB / 0.5284 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.01289, allocations: 4 kB / 0.5284 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.01296, allocations: 20.88 kB / 0.5284 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.01298, allocations: 12 kB / 0.5284 GB, free: 9.684 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 9.946e-05/0.01308, allocations: 173.5 kB / 0.5286 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.0131, allocations: 23.86 kB / 0.5286 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.01333, allocations: 162.9 kB / 0.5288 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.01333, allocations: 3.938 kB / 0.5288 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01334, allocations: 9.828 kB / 0.5288 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01334, allocations: 0 / 0.5288 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.01378, allocations: 493.5 kB / 0.5292 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01378, allocations: 3.938 kB / 0.5292 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.01383, allocations: 12.64 kB / 0.5293 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01383, allocations: 4 kB / 0.5293 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.01384, allocations: 8.641 kB / 0.5293 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01385, allocations: 0.6562 kB / 0.5293 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.01385, allocations: 3.938 kB / 0.5293 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.01407, allocations: 307.6 kB / 0.5296 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.0141, allocations: 35.69 kB / 0.5296 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.01412, allocations: 7.984 kB / 0.5296 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/0.01419, allocations: 10.44 kB / 0.5296 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.01424, allocations: 19.97 kB / 0.5296 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.01425, allocations: 7.984 kB / 0.5296 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000122/0.01438, allocations: 209.1 kB / 0.5298 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01438, allocations: 0 / 0.5298 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002336/0.01461, allocations: 47.92 kB / 0.5299 GB, free: 8.113 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.0009157/0.01553, allocations: 401.1 kB / 0.5303 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.01573, allocations: 117.5 kB / 0.5304 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01573, allocations: 0 / 0.5304 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.353e-05/0.01581, allocations: 63.58 kB / 0.5304 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.01609, allocations: 62.94 kB / 0.5305 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.01661, allocations: 366.7 kB / 0.5309 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.443e-05/0.01666, allocations: 88.31 kB / 0.5309 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.792e-05/0.01673, allocations: 33.92 kB / 0.531 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.01679, allocations: 32.42 kB / 0.531 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.01679, allocations: 0 / 0.531 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of Templates: time 0.005489/0.02228, allocations: 3.293 MB / 0.5342 GB, free: 4.012 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: 4.226951173972338]