Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.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.001333/0.001333, allocations: 93.16 kB / 19.65 MB, free: 292 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.001459/0.001459, allocations: 172.9 kB / 23.02 MB, free: 1.562 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.035/1.035, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7619/0.7619, allocations: 154.9 MB / 414.8 MB, free: 404 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.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") translateModel(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.5206 GB, free: 1.887 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.735e-05, allocations: 4.281 kB / 0.5206 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002333/0.002361, allocations: 1.544 MB / 0.5222 GB, free: 356 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003617, allocations: 1.252 MB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.003686, allocations: 5.594 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.003889, allocations: 11.88 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.004112, allocations: 47.7 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.004267, allocations: 58.16 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.004446, allocations: 147.5 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.004599, allocations: 29.3 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.00471, allocations: 115.7 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.00485, allocations: 40.41 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.004885, allocations: 12 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-05/0.004952, allocations: 28.5 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.445e-05/0.005016, allocations: 52.8 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.005075, allocations: 47.83 kB / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.005307, allocations: 180 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00531, allocations: 0 / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005311, allocations: 1.406 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.005315, allocations: 0 / 0.5241 GB, free: 14.34 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005891/0.005904, allocations: 0.5114 MB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.00594, allocations: 8.969 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.006011, allocations: 32.73 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.006247, allocations: 210.2 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004448/0.006692, allocations: 214.2 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.006719, allocations: 12.36 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.006938, allocations: 194 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.006946, allocations: 192 / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.006965, allocations: 8.125 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.006999, allocations: 8.688 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.007035, allocations: 19.92 kB / 0.5253 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.007637, allocations: 417.4 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.488e-05/0.007692, allocations: 39.95 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.007718, allocations: 15.69 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.007741, allocations: 7.984 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.007764, allocations: 33.89 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.007765, allocations: 3.25 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001948/0.00796, allocations: 85.73 kB / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.007988, allocations: 55.34 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.008147, allocations: 267.5 kB / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.008167, allocations: 25.7 kB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.008238, allocations: 170.8 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.008259, allocations: 31.73 kB / 0.5264 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.008295, allocations: 35.36 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.008409, allocations: 0.5108 MB / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.008437, allocations: 11.94 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.008508, allocations: 114.4 kB / 0.5271 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.008615, allocations: 154.1 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008617, allocations: 1.031 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001435/0.008761, allocations: 124.4 kB / 0.5273 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.008775, allocations: 6.188 kB / 0.5273 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.008785, allocations: 11.98 kB / 0.5273 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.008798, allocations: 4 kB / 0.5273 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.008917, allocations: 26.38 kB / 0.5274 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.008925, allocations: 3.984 kB / 0.5274 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.008972, allocations: 19.89 kB / 0.5274 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.008982, allocations: 4 kB / 0.5274 GB, free: 10.63 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.332e-05/0.009075, allocations: 168.5 kB / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.009112, allocations: 17.59 kB / 0.5276 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.009265, allocations: 95.83 kB / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.009267, allocations: 0 / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.009271, allocations: 4 kB / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.009274, allocations: 0 / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.009426, allocations: 181.5 kB / 0.5278 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009427, allocations: 0 / 0.5278 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.009453, allocations: 16 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.009455, allocations: 4.875 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.009463, allocations: 4 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009465, allocations: 1.406 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.009466, allocations: 0 / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.009626, allocations: 231.7 kB / 0.5281 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.009644, allocations: 11.91 kB / 0.5281 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.009657, allocations: 1.281 kB / 0.5281 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.009758, allocations: 15.98 kB / 0.5281 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.009777, allocations: 11.92 kB / 0.5281 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.009793, allocations: 8.641 kB / 0.5281 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.406e-05/0.009887, allocations: 186 kB / 0.5283 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009887, allocations: 0 / 0.5283 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002059/0.01009, allocations: 33.44 kB / 0.5283 GB, free: 9.602 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0002343/0.01033, allocations: 122.4 kB / 0.5285 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.01046, allocations: 49.33 kB / 0.5285 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01046, allocations: 0.6875 kB / 0.5285 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-05/0.01048, allocations: 31.61 kB / 0.5285 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.01072, allocations: 41.73 kB / 0.5286 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.01111, allocations: 267.3 kB / 0.5288 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.944e-05/0.01116, allocations: 75.33 kB / 0.5289 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.69e-05/0.01124, allocations: 48.8 kB / 0.5289 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.01128, allocations: 16.5 kB / 0.529 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.01128, allocations: 2.438 kB / 0.529 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.004739/0.01602, allocations: 2.729 MB / 0.5316 GB, free: 6.34 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.036554845049977]