Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000871/0.000871, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009371/0.0009371, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.101/1.101, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.8031/0.8031, allocations: 154.9 MB / 415.9 MB, free: 272 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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.5219 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.904e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001871/0.0019, allocations: 0.6749 MB / 0.5225 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.00406, allocations: 1.38 MB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.22e-05/0.004152, allocations: 0 / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.004685, allocations: 189.6 kB / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.004809, allocations: 113.8 kB / 0.5242 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007026/0.005511, allocations: 233.9 kB / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000554/0.006065, allocations: 492.4 kB / 0.5249 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.006111, allocations: 9.125 kB / 0.5249 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.006459, allocations: 259.6 kB / 0.5251 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.006747, allocations: 193 kB / 0.5253 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.006807, allocations: 20 kB / 0.5253 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.006986, allocations: 87.84 kB / 0.5254 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.007179, allocations: 212.3 kB / 0.5256 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.878e-05/0.007277, allocations: 115.8 kB / 0.5257 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003922/0.00767, allocations: 432.1 kB / 0.5261 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.007673, allocations: 0 / 0.5261 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.32e-07/0.007673, allocations: 0 / 0.5261 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.007679, allocations: 3.984 kB / 0.5261 GB, free: 13.18 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007021/0.008381, allocations: 0.6653 MB / 0.5268 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.008419, allocations: 8.031 kB / 0.5268 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.621e-05/0.008515, allocations: 36.78 kB / 0.5268 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.008792, allocations: 264.6 kB / 0.5271 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.00881, allocations: 16.86 kB / 0.5271 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.008852, allocations: 20.38 kB / 0.5271 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.009008, allocations: 118.6 kB / 0.5272 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.009016, allocations: 192 / 0.5272 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.009029, allocations: 384 / 0.5272 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.009035, allocations: 4.375 kB / 0.5272 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.273e-05/0.009087, allocations: 40.78 kB / 0.5273 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.009315, allocations: 224.5 kB / 0.5275 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.0095, allocations: 162.1 kB / 0.5277 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.009557, allocations: 51.78 kB / 0.5277 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.009562, allocations: 4 kB / 0.5277 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.009785, allocations: 231.6 kB / 0.5279 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.009787, allocations: 4.625 kB / 0.5279 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0004301/0.01022, allocations: 309.5 kB / 0.5282 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.01028, allocations: 119.4 kB / 0.5283 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.01054, allocations: 362.2 kB / 0.5287 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.01059, allocations: 46.69 kB / 0.5287 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.01071, allocations: 219.4 kB / 0.5289 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.01075, allocations: 42.3 kB / 0.529 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.01086, allocations: 123.2 kB / 0.5291 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.01103, allocations: 0.5273 MB / 0.5296 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.61e-05/0.01107, allocations: 31.97 kB / 0.5296 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000756/0.01183, allocations: 1.048 MB / 0.5307 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.01199, allocations: 235.5 kB / 0.5309 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.012, allocations: 3.938 kB / 0.5309 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002647/0.01226, allocations: 231.4 kB / 0.5311 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.01228, allocations: 11.98 kB / 0.5311 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01228, allocations: 6.75 kB / 0.5311 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.01229, allocations: 4 kB / 0.5311 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.01242, allocations: 43.92 kB / 0.5312 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.01243, allocations: 8.562 kB / 0.5312 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.0127, allocations: 67.81 kB / 0.5313 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.01272, allocations: 12 kB / 0.5313 GB, free: 7.297 MB / 0.4948 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.0001257/0.01284, allocations: 191.8 kB / 0.5314 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.01288, allocations: 40.67 kB / 0.5315 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.01292, allocations: 25.95 kB / 0.5315 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.01293, allocations: 5.969 kB / 0.5315 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01293, allocations: 0 / 0.5315 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01294, allocations: 0 / 0.5315 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.01308, allocations: 188.9 kB / 0.5317 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01308, allocations: 0 / 0.5317 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.01309, allocations: 7.938 kB / 0.5317 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.0131, allocations: 0.6562 kB / 0.5317 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.01311, allocations: 11.98 kB / 0.5317 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.01311, allocations: 4.656 kB / 0.5317 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01311, allocations: 1.5 kB / 0.5317 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.01342, allocations: 325.4 kB / 0.532 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.01344, allocations: 23.86 kB / 0.5321 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.01346, allocations: 4.047 kB / 0.5321 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.01351, allocations: 8.906 kB / 0.5321 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.01355, allocations: 23.92 kB / 0.5321 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.01357, allocations: 11.98 kB / 0.5321 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001302/0.0137, allocations: 240.1 kB / 0.5323 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0137, allocations: 0 / 0.5323 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002525/0.01395, allocations: 75.94 kB / 0.5324 GB, free: 6.066 MB / 0.4948 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.0001829/0.01413, allocations: 141.2 kB / 0.5325 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.01434, allocations: 148.7 kB / 0.5327 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01435, allocations: 3.5 kB / 0.5327 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.01442, allocations: 79.56 kB / 0.5328 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.01462, allocations: 28.59 kB / 0.5328 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.01514, allocations: 466.7 kB / 0.5332 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.605e-05/0.0152, allocations: 96.3 kB / 0.5333 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.418e-05/0.01527, allocations: 33.31 kB / 0.5334 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.01543, allocations: 142.1 kB / 0.5335 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of SimCode: time 9.31e-07/0.01543, allocations: 0 / 0.5335 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of Templates: time 0.007646/0.02308, allocations: 5.901 MB / 0.5393 GB, free: 15.25 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8949765199795365]