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.0006818/0.0006818, allocations: 96.36 kB / 19.7 MB, free: 452 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.0007152/0.0007152, allocations: 216.7 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.8699/0.8699, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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-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 0.7054/0.7054, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [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.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.0009173/0.0009173, allocations: 66.81 kB / 0.7194 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4229, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001364/0.4243, allocations: 0.8088 MB / 0.8198 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.4255, allocations: 1.466 MB / 0.8213 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.4256, allocations: 5.344 kB / 0.8213 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.426, allocations: 192.6 kB / 0.8214 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.84e-05/0.4261, allocations: 117.1 kB / 0.8216 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.4267, allocations: 374.3 kB / 0.8219 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006368/0.4273, allocations: 0.8723 MB / 0.8228 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.4275, allocations: 62.03 kB / 0.8228 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.4278, allocations: 356.4 kB / 0.8232 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.4283, allocations: 286 kB / 0.8234 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.12e-05/0.4284, allocations: 46.28 kB / 0.8235 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.4286, allocations: 120.5 kB / 0.8236 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000428/0.429, allocations: 362.9 kB / 0.8239 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.4293, allocations: 235.5 kB / 0.8242 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009808/0.4303, allocations: 0.9178 MB / 0.8251 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4303, allocations: 0 / 0.8251 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4303, allocations: 0 / 0.8251 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.4303, allocations: 0 / 0.8251 GB, free: 14.38 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001204/0.4315, allocations: 0.8382 MB / 0.8259 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.4315, allocations: 9.875 kB / 0.8259 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.4317, allocations: 55.53 kB / 0.8259 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.4322, allocations: 499.1 kB / 0.8264 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.4323, allocations: 25.06 kB / 0.8264 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/0.4323, allocations: 32.7 kB / 0.8265 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.4327, allocations: 305.6 kB / 0.8268 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4327, allocations: 4.172 kB / 0.8268 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.4327, allocations: 10.41 kB / 0.8268 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4327, allocations: 3.75 kB / 0.8268 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.4329, allocations: 220.2 kB / 0.827 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.4341, allocations: 1.007 MB / 0.828 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.4346, allocations: 460.8 kB / 0.8284 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.4348, allocations: 174.2 kB / 0.8286 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.4348, allocations: 2.844 kB / 0.8286 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004376/0.4352, allocations: 322.8 kB / 0.8289 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.4352, allocations: 4.469 kB / 0.8289 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.0008713/0.4361, allocations: 0.6287 MB / 0.8295 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.4361, allocations: 117.8 kB / 0.8296 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.4367, allocations: 0.5988 MB / 0.8302 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.816e-05/0.4367, allocations: 44.73 kB / 0.8302 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.4369, allocations: 217.2 kB / 0.8305 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.4369, allocations: 57.14 kB / 0.8305 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.4371, allocations: 182.9 kB / 0.8307 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4372, allocations: 361.7 kB / 0.831 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.4374, allocations: 125.8 kB / 0.8311 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.4385, allocations: 1.781 MB / 0.8329 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.4387, allocations: 301.5 kB / 0.8332 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.4387, allocations: 5.219 kB / 0.8332 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004601/0.4392, allocations: 419.3 kB / 0.8336 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4392, allocations: 6.734 kB / 0.8336 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4392, allocations: 4.188 kB / 0.8336 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4392, allocations: 4.812 kB / 0.8336 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.4393, allocations: 35.53 kB / 0.8336 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4393, allocations: 13.7 kB / 0.8336 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.44, allocations: 126.6 kB / 0.8338 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.44, allocations: 11.28 kB / 0.8338 GB, free: 8.746 MB / 0.6198 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.0002329/0.4402, allocations: 266.1 kB / 0.834 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.4403, allocations: 43.61 kB / 0.8341 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.4403, allocations: 57.38 kB / 0.8341 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4403, allocations: 1.625 kB / 0.8341 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.4403, allocations: 6.172 kB / 0.8341 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4403, allocations: 6.578 kB / 0.8341 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.4406, allocations: 289.1 kB / 0.8344 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4406, allocations: 1.156 kB / 0.8344 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.464e-05/0.4406, allocations: 14.02 kB / 0.8344 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4406, allocations: 9.906 kB / 0.8344 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4406, allocations: 9.766 kB / 0.8344 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4406, allocations: 2.375 kB / 0.8344 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4406, allocations: 0.5156 kB / 0.8344 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.4411, allocations: 0.5194 MB / 0.835 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.4412, allocations: 45.81 kB / 0.835 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.4412, allocations: 3.922 kB / 0.835 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.4413, allocations: 17.09 kB / 0.835 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.4414, allocations: 39.69 kB / 0.8351 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.4414, allocations: 13.39 kB / 0.8351 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003721/0.4418, allocations: 437.7 kB / 0.8355 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4418, allocations: 0 / 0.8355 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003636/0.4421, allocations: 116.6 kB / 0.8356 GB, free: 7.844 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: 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.00018/0.4423, allocations: 142.3 kB / 0.8357 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.4427, allocations: 355.1 kB / 0.8361 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4427, allocations: 0 / 0.8361 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.4429, allocations: 197.2 kB / 0.8363 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.4432, allocations: 35.09 kB / 0.8363 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/0.4441, allocations: 0.8825 MB / 0.8372 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.4443, allocations: 232.4 kB / 0.8374 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.4444, allocations: 39.3 kB / 0.8374 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.4444, allocations: 0 / 0.8374 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of Templates: time 0.006877/0.4513, allocations: 7.143 MB / 0.8444 GB, free: 3.633 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.932795410975814] Failed to read output from testmodel.py, exit status != 0: 0.4574353997595608 0.46567100799999994 0.03361248 Calling exit ...