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.001023/0.001023, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009689/0.0009689, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 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.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.818/0.818, allocations: 154.8 MB / 415.1 MB, free: 492 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 3.086e-06/3.086e-06, allocations: 0 / 0.5206 GB, free: 1.172 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.478e-05, allocations: 4.141 kB / 0.5206 GB, free: 1.168 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002153/0.002188, allocations: 0.6748 MB / 0.5212 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.004201, allocations: 1.379 MB / 0.5226 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.004283, allocations: 5.406 kB / 0.5226 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006181/0.004901, allocations: 197.3 kB / 0.5228 GB, free: 14.93 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.005026, allocations: 96.67 kB / 0.5229 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007928/0.005819, allocations: 233.9 kB / 0.5231 GB, free: 14.61 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005812/0.0064, allocations: 493.9 kB / 0.5236 GB, free: 14.13 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.006457, allocations: 15.98 kB / 0.5236 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.006832, allocations: 243.7 kB / 0.5238 GB, free: 13.88 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004105/0.007243, allocations: 229.7 kB / 0.524 GB, free: 13.65 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.855e-05/0.007331, allocations: 20 kB / 0.524 GB, free: 13.63 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.007588, allocations: 103.8 kB / 0.5241 GB, free: 13.53 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003833/0.007971, allocations: 269.2 kB / 0.5244 GB, free: 13.27 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.008364, allocations: 115.8 kB / 0.5245 GB, free: 13.16 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006618/0.009026, allocations: 426.8 kB / 0.5249 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.009031, allocations: 0 / 0.5249 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.009033, allocations: 0 / 0.5249 GB, free: 12.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.009042, allocations: 1.75 kB / 0.5249 GB, free: 12.74 MB / 458.7 MB 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.001094/0.01014, allocations: 0.6667 MB / 0.5256 GB, free: 12.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.01019, allocations: 12.03 kB / 0.5256 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.01038, allocations: 41.53 kB / 0.5256 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.01088, allocations: 280.6 kB / 0.5259 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.01091, allocations: 21.7 kB / 0.5259 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.01099, allocations: 20.38 kB / 0.5259 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.01129, allocations: 133.2 kB / 0.5261 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01131, allocations: 4.125 kB / 0.5261 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.01133, allocations: 1.719 kB / 0.5261 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.01134, allocations: 384 / 0.5261 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.01146, allocations: 47.91 kB / 0.5261 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.0119, allocations: 289.4 kB / 0.5264 GB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.01226, allocations: 193.2 kB / 0.5266 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.01238, allocations: 67.03 kB / 0.5266 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.01239, allocations: 6.406 kB / 0.5266 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/0.01278, allocations: 251.8 kB / 0.5269 GB, free: 10.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.714e-06/0.01278, allocations: 0 / 0.5269 GB, free: 10.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007926/0.01357, allocations: 378.8 kB / 0.5272 GB, free: 10.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.01365, allocations: 110.8 kB / 0.5273 GB, free: 10.03 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/0.01407, allocations: 382.2 kB / 0.5277 GB, free: 9.645 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.01413, allocations: 38.62 kB / 0.5277 GB, free: 9.602 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.01452, allocations: 207.5 kB / 0.5279 GB, free: 9.395 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.01457, allocations: 50.92 kB / 0.528 GB, free: 9.348 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.01475, allocations: 119.2 kB / 0.5281 GB, free: 9.223 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.01493, allocations: 0.5235 MB / 0.5286 GB, free: 8.688 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.01503, allocations: 47.97 kB / 0.5287 GB, free: 8.641 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006446/0.01568, allocations: 1.064 MB / 0.5297 GB, free: 7.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.01597, allocations: 258 kB / 0.53 GB, free: 6.934 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.01597, allocations: 5.5 kB / 0.53 GB, free: 6.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005009/0.01647, allocations: 274.8 kB / 0.5302 GB, free: 6.656 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.0165, allocations: 14.38 kB / 0.5302 GB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.01651, allocations: 4 kB / 0.5302 GB, free: 6.641 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.01653, allocations: 4 kB / 0.5302 GB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.01674, allocations: 43.91 kB / 0.5303 GB, free: 6.594 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.01675, allocations: 7.938 kB / 0.5303 GB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.01724, allocations: 61.73 kB / 0.5303 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.01726, allocations: 10.44 kB / 0.5304 GB, free: 6.52 MB / 458.7 MB 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.0002035/0.01746, allocations: 194.5 kB / 0.5305 GB, free: 6.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.178e-05/0.01753, allocations: 31.81 kB / 0.5306 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.01759, allocations: 29.95 kB / 0.5306 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.0176, allocations: 5.812 kB / 0.5306 GB, free: 6.254 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.0176, allocations: 0 / 0.5306 GB, free: 6.254 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.01761, allocations: 3.938 kB / 0.5306 GB, free: 6.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.01788, allocations: 224.5 kB / 0.5308 GB, free: 5.996 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01788, allocations: 0 / 0.5308 GB, free: 5.996 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.0179, allocations: 9.062 kB / 0.5308 GB, free: 5.988 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.01791, allocations: 0 / 0.5308 GB, free: 5.988 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.01793, allocations: 7.984 kB / 0.5308 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.01793, allocations: 6.438 kB / 0.5308 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01793, allocations: 0 / 0.5308 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.01846, allocations: 371.3 kB / 0.5312 GB, free: 5.582 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.01851, allocations: 27.75 kB / 0.5312 GB, free: 5.555 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.01855, allocations: 0 / 0.5312 GB, free: 5.555 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.424e-05/0.01864, allocations: 15.92 kB / 0.5312 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.01871, allocations: 22.45 kB / 0.5313 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.01874, allocations: 11.98 kB / 0.5313 GB, free: 5.508 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002482/0.01898, allocations: 251 kB / 0.5315 GB, free: 5.262 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01898, allocations: 0 / 0.5315 GB, free: 5.262 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004104/0.01939, allocations: 71.94 kB / 0.5316 GB, free: 5.191 MB / 458.7 MB 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.0002747/0.01967, allocations: 144.6 kB / 0.5317 GB, free: 5.043 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.02003, allocations: 184.7 kB / 0.5319 GB, free: 4.859 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.02003, allocations: 1.281 kB / 0.5319 GB, free: 4.859 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.02018, allocations: 103.7 kB / 0.532 GB, free: 4.754 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.0205, allocations: 35.92 kB / 0.532 GB, free: 4.727 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008407/0.02134, allocations: 482.8 kB / 0.5325 GB, free: 4.215 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.228e-05/0.02142, allocations: 100.2 kB / 0.5326 GB, free: 4.098 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.02154, allocations: 37.56 kB / 0.5326 GB, free: 4.062 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.02161, allocations: 28.44 kB / 0.5327 GB, free: 4.035 MB / 458.7 MB Notification: Performance of SimCode: time 1.743e-06/0.02161, allocations: 0 / 0.5327 GB, free: 4.035 MB / 458.7 MB Notification: Performance of Templates: time 0.008677/0.03029, allocations: 5.452 MB / 0.538 GB, free: 14.82 MB / 474.7 MB " [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.969472549855709]