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.001347/0.001347, allocations: 80.83 kB / 19.18 MB, free: 2.527 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.001551/0.001551, allocations: 165.3 kB / 22.46 MB, free: 5.355 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.488/1.488, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.201/1.201, allocations: 154.6 MB / 413.8 MB, free: 5.309 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: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.695e-05, allocations: 8.75 kB / 0.6185 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.003342/0.003369, allocations: 1.894 MB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002263/0.005631, allocations: 1.203 MB / 0.6216 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.542e-05/0.005727, allocations: 7.938 kB / 0.6216 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.006102, allocations: 99.44 kB / 0.6217 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.006493, allocations: 143.3 kB / 0.6218 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.006774, allocations: 127.5 kB / 0.6219 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.007099, allocations: 235.3 kB / 0.6222 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.00725, allocations: 33.78 kB / 0.6222 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.007448, allocations: 127.6 kB / 0.6223 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.007608, allocations: 95.75 kB / 0.6224 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.007643, allocations: 12 kB / 0.6224 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.007772, allocations: 55.86 kB / 0.6225 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.347e-05/0.007865, allocations: 63.81 kB / 0.6225 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.493e-05/0.00795, allocations: 59.77 kB / 0.6226 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.008348, allocations: 287 kB / 0.6229 GB, free: 196 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.008351, allocations: 0 / 0.6229 GB, free: 196 kB / 0.5294 GB Notification: Performance of FrontEnd: time 7.81e-07/0.008352, allocations: 0 / 0.6229 GB, free: 196 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.008359, allocations: 0 / 0.6229 GB, free: 196 kB / 0.5294 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.001161/0.009519, allocations: 488.8 kB / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.009576, allocations: 13.47 kB / 0.6233 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.338e-05/0.00966, allocations: 24.8 kB / 0.6234 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.01015, allocations: 233 kB / 0.6236 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.01016, allocations: 7.938 kB / 0.6236 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.0102, allocations: 19.94 kB / 0.6236 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.01055, allocations: 117.6 kB / 0.6237 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.01056, allocations: 4 kB / 0.6237 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.01058, allocations: 4 kB / 0.6237 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.01059, allocations: 0 / 0.6237 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.01089, allocations: 95.84 kB / 0.6238 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007474/0.01164, allocations: 368.3 kB / 0.6242 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.01199, allocations: 130.6 kB / 0.6243 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.01216, allocations: 56.81 kB / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.01217, allocations: 0 / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.01246, allocations: 125.9 kB / 0.6245 GB, free: 14.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.01246, allocations: 0 / 0.6245 GB, free: 14.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0007047/0.01317, allocations: 253.4 kB / 0.6247 GB, free: 14.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.01323, allocations: 59.39 kB / 0.6248 GB, free: 14.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.01364, allocations: 345.7 kB / 0.6251 GB, free: 13.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.01367, allocations: 33.7 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.01379, allocations: 136.5 kB / 0.6253 GB, free: 13.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.01384, allocations: 47.67 kB / 0.6253 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-05/0.01394, allocations: 57.7 kB / 0.6254 GB, free: 13.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.01411, allocations: 334.8 kB / 0.6257 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.01432, allocations: 87.94 kB / 0.6258 GB, free: 13.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.01456, allocations: 138.8 kB / 0.6259 GB, free: 12.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.01498, allocations: 187.3 kB / 0.6261 GB, free: 12.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01498, allocations: 3.938 kB / 0.6261 GB, free: 12.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005719/0.01555, allocations: 291.9 kB / 0.6264 GB, free: 12.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.01557, allocations: 4 kB / 0.6264 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01557, allocations: 0 / 0.6264 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.01559, allocations: 7.938 kB / 0.6264 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.0158, allocations: 48.12 kB / 0.6264 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.01581, allocations: 3.938 kB / 0.6264 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.01596, allocations: 27.88 kB / 0.6264 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.01598, allocations: 8 kB / 0.6264 GB, free: 12.3 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.0001678/0.01615, allocations: 158.8 kB / 0.6266 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.0162, allocations: 31.8 kB / 0.6266 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.01671, allocations: 209.8 kB / 0.6268 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.01671, allocations: 7.938 kB / 0.6268 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.01672, allocations: 7.984 kB / 0.6268 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01672, allocations: 0 / 0.6268 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008558/0.01758, allocations: 494 kB / 0.6273 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01758, allocations: 3.938 kB / 0.6273 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.301e-05/0.01767, allocations: 15.98 kB / 0.6273 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01768, allocations: 3.938 kB / 0.6273 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.0177, allocations: 11.98 kB / 0.6274 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.0177, allocations: 8 kB / 0.6274 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.0177, allocations: 0 / 0.6274 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.01821, allocations: 305.8 kB / 0.6277 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.01826, allocations: 31.78 kB / 0.6277 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.01829, allocations: 4 kB / 0.6277 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.01845, allocations: 19.92 kB / 0.6277 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.01852, allocations: 15.97 kB / 0.6277 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.01855, allocations: 4 kB / 0.6277 GB, free: 10.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002284/0.01877, allocations: 221.2 kB / 0.6279 GB, free: 10.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01877, allocations: 0 / 0.6279 GB, free: 10.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003195/0.01909, allocations: 51.89 kB / 0.628 GB, free: 10.68 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 (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.001648/0.02074, allocations: 447.7 kB / 0.6284 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.02124, allocations: 172 kB / 0.6286 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02124, allocations: 0 / 0.6286 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.02145, allocations: 71.89 kB / 0.6286 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.02187, allocations: 59.39 kB / 0.6287 GB, free: 10.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007742/0.02265, allocations: 413.8 kB / 0.6291 GB, free: 9.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.02279, allocations: 141.3 kB / 0.6292 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.66e-05/0.02289, allocations: 41.91 kB / 0.6293 GB, free: 9.527 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.02297, allocations: 28.5 kB / 0.6293 GB, free: 9.5 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.02297, allocations: 0 / 0.6293 GB, free: 9.5 MB / 0.545 GB Notification: Performance of Templates: time 0.007707/0.03068, allocations: 3.275 MB / 0.6325 GB, free: 6.285 MB / 0.545 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.991065159440041] Failed to read output from testmodel.py, exit status != 0: 0.03947271779179573 0.055293561000000005 0.043881215 Calling exit ...