Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009635/0.0009635, allocations: 93.06 kB / 19.65 MB, free: 276 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.001297/0.001297, allocations: 169 kB / 23.02 MB, free: 1.547 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.016/1.016, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8929/0.8929, allocations: 154.6 MB / 414.5 MB, free: 0.6836 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") translateModel(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0.875 kB / 0.5203 GB, free: 1.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.009e-05, allocations: 4 kB / 0.5203 GB, free: 1.137 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003022/0.003052, allocations: 1.54 MB / 0.5218 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.004462, allocations: 1.252 MB / 0.523 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.308e-05/0.004535, allocations: 4 kB / 0.523 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.004741, allocations: 15.84 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.004958, allocations: 48.25 kB / 0.5231 GB, free: 14.29 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.005105, allocations: 53.42 kB / 0.5231 GB, free: 14.24 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.005267, allocations: 152.5 kB / 0.5233 GB, free: 14.09 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.005396, allocations: 33.28 kB / 0.5233 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.005507, allocations: 103.8 kB / 0.5234 GB, free: 13.96 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.005636, allocations: 51.67 kB / 0.5235 GB, free: 13.91 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.00567, allocations: 12 kB / 0.5235 GB, free: 13.9 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.589e-05/0.005736, allocations: 27.94 kB / 0.5235 GB, free: 13.87 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.005802, allocations: 47.89 kB / 0.5235 GB, free: 13.82 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.005858, allocations: 51.83 kB / 0.5236 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.006075, allocations: 179.9 kB / 0.5238 GB, free: 13.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.006078, allocations: 0.5 kB / 0.5238 GB, free: 13.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006078, allocations: 0.9375 kB / 0.5238 GB, free: 13.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.006084, allocations: 3.938 kB / 0.5238 GB, free: 13.59 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006886/0.006772, allocations: 0.5083 MB / 0.5243 GB, free: 13.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.006809, allocations: 11.97 kB / 0.5243 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.238e-05/0.006881, allocations: 33.42 kB / 0.5243 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.007111, allocations: 202.3 kB / 0.5245 GB, free: 12.78 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.007239, allocations: 223.2 kB / 0.5247 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.007266, allocations: 8.375 kB / 0.5247 GB, free: 12.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.007472, allocations: 189.7 kB / 0.5249 GB, free: 12.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.007479, allocations: 192 / 0.5249 GB, free: 12.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.007496, allocations: 5.812 kB / 0.5249 GB, free: 12.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.007529, allocations: 11.98 kB / 0.5249 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.882e-05/0.007568, allocations: 23.97 kB / 0.5249 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.008127, allocations: 417 kB / 0.5253 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.179e-05/0.008178, allocations: 35.81 kB / 0.5254 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.008205, allocations: 15.83 kB / 0.5254 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.008231, allocations: 9.234 kB / 0.5254 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.008255, allocations: 41.39 kB / 0.5254 GB, free: 11.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.008257, allocations: 0 / 0.5254 GB, free: 11.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002045/0.008461, allocations: 77.53 kB / 0.5255 GB, free: 11.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.008487, allocations: 56.64 kB / 0.5256 GB, free: 11.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.008649, allocations: 262.9 kB / 0.5258 GB, free: 11.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.008671, allocations: 33.69 kB / 0.5258 GB, free: 11.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.008741, allocations: 173.1 kB / 0.526 GB, free: 11.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.008763, allocations: 27.75 kB / 0.526 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.008802, allocations: 39.36 kB / 0.5261 GB, free: 10.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.008916, allocations: 0.5 MB / 0.5266 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.008944, allocations: 15.92 kB / 0.5266 GB, free: 10.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.009017, allocations: 124.2 kB / 0.5267 GB, free: 10.28 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.00913, allocations: 144.4 kB / 0.5268 GB, free: 10.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.009133, allocations: 0.8125 kB / 0.5268 GB, free: 10.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000152/0.009285, allocations: 133.2 kB / 0.527 GB, free: 9.957 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.009299, allocations: 4 kB / 0.527 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.009304, allocations: 4 kB / 0.527 GB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.009322, allocations: 4 kB / 0.527 GB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.009408, allocations: 23.98 kB / 0.527 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.009415, allocations: 4 kB / 0.527 GB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.085e-05/0.009456, allocations: 18.86 kB / 0.527 GB, free: 9.902 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.009465, allocations: 4 kB / 0.527 GB, free: 9.898 MB / 458.7 MB 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 7.979e-05/0.009545, allocations: 168.5 kB / 0.5272 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.009582, allocations: 19.91 kB / 0.5272 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.009987, allocations: 95.75 kB / 0.5273 GB, free: 9.605 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.00999, allocations: 4 kB / 0.5273 GB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.009993, allocations: 0 / 0.5273 GB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.009997, allocations: 5.484 kB / 0.5273 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.01014, allocations: 176.5 kB / 0.5275 GB, free: 9.391 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01014, allocations: 0 / 0.5275 GB, free: 9.391 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.01017, allocations: 15.98 kB / 0.5275 GB, free: 9.375 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01017, allocations: 7.062 kB / 0.5275 GB, free: 9.371 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.01018, allocations: 0 / 0.5275 GB, free: 9.371 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01018, allocations: 0 / 0.5275 GB, free: 9.371 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01018, allocations: 4 kB / 0.5275 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.01032, allocations: 235.7 kB / 0.5277 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.01034, allocations: 11.94 kB / 0.5277 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.01035, allocations: 4 kB / 0.5277 GB, free: 9.102 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.01044, allocations: 11.94 kB / 0.5278 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.01046, allocations: 10.42 kB / 0.5278 GB, free: 9.082 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.01047, allocations: 7.984 kB / 0.5278 GB, free: 9.074 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.9e-05/0.01056, allocations: 190 kB / 0.5279 GB, free: 8.891 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01056, allocations: 0 / 0.5279 GB, free: 8.891 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.01077, allocations: 35.88 kB / 0.528 GB, free: 8.855 MB / 458.7 MB 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.0002005/0.01097, allocations: 119 kB / 0.5281 GB, free: 8.738 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.0111, allocations: 58.45 kB / 0.5282 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.0111, allocations: 0 / 0.5282 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.01112, allocations: 27.67 kB / 0.5282 GB, free: 8.648 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.01136, allocations: 38.92 kB / 0.5282 GB, free: 8.613 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.01172, allocations: 254.9 kB / 0.5285 GB, free: 8.336 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.651e-05/0.01177, allocations: 79.31 kB / 0.5285 GB, free: 8.238 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.531e-05/0.01184, allocations: 50.02 kB / 0.5286 GB, free: 8.195 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.01188, allocations: 24.48 kB / 0.5286 GB, free: 8.172 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01188, allocations: 2 kB / 0.5286 GB, free: 8.172 MB / 458.7 MB Notification: Performance of Templates: time 0.004034/0.01591, allocations: 2.446 MB / 0.531 GB, free: 5.883 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.069911021273583]