Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.00241/0.00241, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.002428/0.002428, allocations: 210.2 kB / 22.24 MB, free: 4.875 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.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.292/1.292, allocations: 203.8 MB / 0.5041 GB, free: 4.609 MB / 414.1 MB " [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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.002392/0.002392, allocations: 63.91 kB / 0.7187 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6686/0.671, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002359/0.6733, allocations: 0.8137 MB / 0.8191 GB, free: 28.42 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.6756, allocations: 1.462 MB / 0.8205 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.6757, allocations: 6.406 kB / 0.8205 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007623/0.6765, allocations: 195.9 kB / 0.8207 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.6767, allocations: 116.9 kB / 0.8208 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.6781, allocations: 365.5 kB / 0.8212 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001319/0.6794, allocations: 0.8697 MB / 0.822 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.6796, allocations: 57.81 kB / 0.8221 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005768/0.6802, allocations: 363.2 kB / 0.8224 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005434/0.6807, allocations: 278.9 kB / 0.8227 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.6809, allocations: 45.47 kB / 0.8227 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.6813, allocations: 125.9 kB / 0.8228 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000505/0.6818, allocations: 363.5 kB / 0.8232 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.6821, allocations: 230.9 kB / 0.8234 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.6834, allocations: 0.9214 MB / 0.8243 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.6834, allocations: 5.172 kB / 0.8243 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6834, allocations: 0 / 0.8243 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.6834, allocations: 0 / 0.8243 GB, free: 26.01 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001949/0.6854, allocations: 0.8301 MB / 0.8251 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.6855, allocations: 10.44 kB / 0.8251 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.6857, allocations: 55.17 kB / 0.8252 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.6867, allocations: 499.8 kB / 0.8257 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.6868, allocations: 25 kB / 0.8257 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.6869, allocations: 36.72 kB / 0.8257 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.6874, allocations: 313.2 kB / 0.826 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.6875, allocations: 4.172 kB / 0.826 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.6875, allocations: 11.52 kB / 0.826 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.6875, allocations: 2.406 kB / 0.826 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.6879, allocations: 222.1 kB / 0.8262 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.6899, allocations: 0.9977 MB / 0.8272 GB, free: 24.37 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.6906, allocations: 464.6 kB / 0.8277 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.6908, allocations: 176.4 kB / 0.8278 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.6909, allocations: 1.375 kB / 0.8278 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005293/0.6914, allocations: 337.1 kB / 0.8281 GB, free: 23.96 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.6914, allocations: 0 / 0.8281 GB, free: 23.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24): time 0.001216/0.6926, allocations: 0.6281 MB / 0.8288 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.6927, allocations: 116.4 kB / 0.8289 GB, free: 23.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009072/0.6936, allocations: 0.5971 MB / 0.8295 GB, free: 23.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.6937, allocations: 44.39 kB / 0.8295 GB, free: 23.33 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.6939, allocations: 220.5 kB / 0.8297 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.694, allocations: 53.27 kB / 0.8298 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.6943, allocations: 184.6 kB / 0.8299 GB, free: 23.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6944, allocations: 360.1 kB / 0.8303 GB, free: 22.72 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.6946, allocations: 130.3 kB / 0.8304 GB, free: 22.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.6957, allocations: 1.776 MB / 0.8321 GB, free: 20.81 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.696, allocations: 301.4 kB / 0.8324 GB, free: 20.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.696, allocations: 5.281 kB / 0.8324 GB, free: 20.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007819/0.6968, allocations: 419.3 kB / 0.8328 GB, free: 20.44 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6968, allocations: 6.094 kB / 0.8328 GB, free: 20.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6968, allocations: 3.625 kB / 0.8328 GB, free: 20.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.6969, allocations: 6.766 kB / 0.8328 GB, free: 20.44 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.697, allocations: 30.62 kB / 0.8329 GB, free: 20.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.6971, allocations: 18.47 kB / 0.8329 GB, free: 20.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.6985, allocations: 131.1 kB / 0.833 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.6986, allocations: 11.06 kB / 0.833 GB, free: 20.39 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.000351/0.6989, allocations: 268.1 kB / 0.8333 GB, free: 20.22 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.699, allocations: 42.45 kB / 0.8333 GB, free: 20.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.638e-05/0.6991, allocations: 55.92 kB / 0.8334 GB, free: 20.17 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.6991, allocations: 3.25 kB / 0.8334 GB, free: 20.17 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.6991, allocations: 4.906 kB / 0.8334 GB, free: 20.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.6991, allocations: 2.125 kB / 0.8334 GB, free: 20.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.6995, allocations: 291.8 kB / 0.8337 GB, free: 19.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6995, allocations: 0 / 0.8337 GB, free: 19.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.6995, allocations: 13.73 kB / 0.8337 GB, free: 19.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.6995, allocations: 1.922 kB / 0.8337 GB, free: 19.97 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.6995, allocations: 10.84 kB / 0.8337 GB, free: 19.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6995, allocations: 1.062 kB / 0.8337 GB, free: 19.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6996, allocations: 1.25 kB / 0.8337 GB, free: 19.97 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006881/0.7002, allocations: 0.5203 MB / 0.8342 GB, free: 19.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.7003, allocations: 50.34 kB / 0.8342 GB, free: 19.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.7004, allocations: 8.031 kB / 0.8343 GB, free: 19.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.7006, allocations: 13.73 kB / 0.8343 GB, free: 19.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.7007, allocations: 35.33 kB / 0.8343 GB, free: 19.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.7007, allocations: 12.39 kB / 0.8343 GB, free: 19.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005216/0.7012, allocations: 437.1 kB / 0.8347 GB, free: 19.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7012, allocations: 1.094 kB / 0.8347 GB, free: 19.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000584/0.7018, allocations: 116.9 kB / 0.8348 GB, free: 19.49 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002419/0.7021, allocations: 145.4 kB / 0.835 GB, free: 19.39 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000623/0.7027, allocations: 359.5 kB / 0.8353 GB, free: 19.28 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7027, allocations: 0 / 0.8353 GB, free: 19.28 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.703, allocations: 163.4 kB / 0.8355 GB, free: 19.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.7033, allocations: 43.22 kB / 0.8355 GB, free: 19.21 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.7047, allocations: 0.8383 MB / 0.8363 GB, free: 18.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.705, allocations: 229.8 kB / 0.8366 GB, free: 18.68 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000272/0.7052, allocations: 96.72 kB / 0.8367 GB, free: 18.67 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.787e-05/0.7053, allocations: 37.72 kB / 0.8367 GB, free: 18.66 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.7053, allocations: 0 / 0.8367 GB, free: 18.66 MB / 0.6387 GB Notification: Performance of Templates: time 0.0197/0.725, allocations: 8.916 MB / 0.8454 GB, free: 16.76 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.137326875701547] Failed to read output from testmodel.py, exit status != 0: 0.7345681637525558 0.754367113 0.067218989 Calling exit ...