Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.00108/0.00108, allocations: 100.4 kB / 19.71 MB, free: 444 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.0008362/0.0008362, allocations: 210.9 kB / 23 MB, free: 2.977 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.8689/0.8689, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7421/0.7421, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [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.0008894/0.0008894, allocations: 69.61 kB / 0.719 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4591, allocations: 102 MB / 0.8186 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001251/0.4604, allocations: 0.6569 MB / 0.8193 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.4614, allocations: 1.354 MB / 0.8206 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.4615, allocations: 3.531 kB / 0.8206 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.4619, allocations: 184.8 kB / 0.8208 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.958e-05/0.462, allocations: 101 kB / 0.8209 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.4624, allocations: 241.8 kB / 0.8211 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.4628, allocations: 485.8 kB / 0.8215 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.4628, allocations: 12.86 kB / 0.8216 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.463, allocations: 209.7 kB / 0.8218 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.4632, allocations: 225.9 kB / 0.822 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.4633, allocations: 20.38 kB / 0.822 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.4634, allocations: 99.41 kB / 0.8221 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.4637, allocations: 270.1 kB / 0.8223 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.4638, allocations: 132.2 kB / 0.8225 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.4643, allocations: 484.2 kB / 0.8229 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4643, allocations: 0 / 0.8229 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4643, allocations: 0 / 0.8229 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.4643, allocations: 5.125 kB / 0.8229 GB, free: 15.4 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007331/0.465, allocations: 0.5761 MB / 0.8235 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.465, allocations: 9.375 kB / 0.8235 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.05e-05/0.4651, allocations: 35.59 kB / 0.8235 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.4655, allocations: 321.3 kB / 0.8239 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.4655, allocations: 14.23 kB / 0.8239 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.4655, allocations: 25.81 kB / 0.8239 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.4658, allocations: 182.7 kB / 0.8241 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4658, allocations: 1.984 kB / 0.8241 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4658, allocations: 8.641 kB / 0.8241 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4658, allocations: 1.25 kB / 0.8241 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.4659, allocations: 112.9 kB / 0.8242 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.4662, allocations: 278.8 kB / 0.8244 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.4665, allocations: 315.2 kB / 0.8247 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.4667, allocations: 121.3 kB / 0.8249 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.4667, allocations: 2.406 kB / 0.8249 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.467, allocations: 285.2 kB / 0.8251 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 9.32e-07/0.467, allocations: 0 / 0.8251 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006063/0.4676, allocations: 0.4928 MB / 0.8256 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.4677, allocations: 115.3 kB / 0.8257 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.468, allocations: 400.7 kB / 0.8261 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.468, allocations: 41.23 kB / 0.8262 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.253e-05/0.4681, allocations: 151 kB / 0.8263 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.4682, allocations: 41.72 kB / 0.8263 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.4683, allocations: 118.2 kB / 0.8264 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4684, allocations: 344.1 kB / 0.8268 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.232e-05/0.4685, allocations: 86.95 kB / 0.8269 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.469, allocations: 1.088 MB / 0.8279 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.4692, allocations: 251.3 kB / 0.8282 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4692, allocations: 1.859 kB / 0.8282 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003528/0.4696, allocations: 333.4 kB / 0.8285 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4696, allocations: 6.25 kB / 0.8285 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4696, allocations: 4.156 kB / 0.8285 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4696, allocations: 9.719 kB / 0.8285 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4697, allocations: 33.77 kB / 0.8285 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4697, allocations: 5.203 kB / 0.8285 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.4701, allocations: 71.69 kB / 0.8286 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.4701, allocations: 15.02 kB / 0.8286 GB, free: 11.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001536/0.4702, allocations: 198.5 kB / 0.8288 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.4703, allocations: 29.64 kB / 0.8288 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.4703, allocations: 45.11 kB / 0.8289 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4703, allocations: 2.906 kB / 0.8289 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4703, allocations: 1.875 kB / 0.8289 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4704, allocations: 1.062 kB / 0.8289 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.4705, allocations: 201.3 kB / 0.8291 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4705, allocations: 0.5625 kB / 0.8291 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.4706, allocations: 8.688 kB / 0.8291 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4706, allocations: 1.5 kB / 0.8291 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.4706, allocations: 6.234 kB / 0.8291 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4706, allocations: 6.109 kB / 0.8291 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4706, allocations: 0.625 kB / 0.8291 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.4712, allocations: 439.3 kB / 0.8295 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.4713, allocations: 26.45 kB / 0.8295 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.4713, allocations: 3.375 kB / 0.8295 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.723e-05/0.4714, allocations: 11.12 kB / 0.8296 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.4714, allocations: 22.27 kB / 0.8296 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.4714, allocations: 11.78 kB / 0.8296 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002844/0.4717, allocations: 288.3 kB / 0.8299 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4717, allocations: 0 / 0.8299 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002798/0.472, allocations: 81.38 kB / 0.8299 GB, free: 10.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000189/0.4722, allocations: 138.1 kB / 0.8301 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003869/0.4726, allocations: 254.7 kB / 0.8303 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4726, allocations: 0 / 0.8303 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.4728, allocations: 151.7 kB / 0.8305 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.473, allocations: 27.06 kB / 0.8305 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008124/0.4738, allocations: 0.606 MB / 0.8311 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.4739, allocations: 162.3 kB / 0.8312 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.474, allocations: 27.42 kB / 0.8313 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of SimCode: time 4.8e-07/0.474, allocations: 0 / 0.8313 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.006091/0.4801, allocations: 4.417 MB / 0.8356 GB, free: 9.227 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9717964213341475] Failed to read output from testmodel.py, exit status != 0: 0.4850113126449287 0.49422929699999996 0.02822898 Calling exit ...