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.001643/0.001643, allocations: 75.73 kB / 19.02 MB, free: 1.102 MB / 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.002091/0.002091, allocations: 155 kB / 22.29 MB, free: 3.508 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 1.391/1.391, allocations: 177.2 MB / 202.7 MB, free: 4.824 MB / 186.7 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.233/1.233, allocations: 154.7 MB / 413.8 MB, free: 3.129 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: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) [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.003316/0.003316, allocations: 80.5 kB / 0.618 GB, free: 1.145 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2347, allocations: 102 MB / 0.7176 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003648/0.2383, allocations: 1.483 MB / 0.7191 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.2405, allocations: 1.215 MB / 0.7203 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.2406, allocations: 8 kB / 0.7203 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.2408, allocations: 19.8 kB / 0.7203 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.241, allocations: 39.77 kB / 0.7203 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.2413, allocations: 65.89 kB / 0.7204 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.2415, allocations: 143.5 kB / 0.7205 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.2417, allocations: 41.22 kB / 0.7206 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.2418, allocations: 103.7 kB / 0.7207 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.2421, allocations: 63.69 kB / 0.7207 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.2422, allocations: 12 kB / 0.7207 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.173e-05/0.2422, allocations: 20 kB / 0.7207 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.2424, allocations: 55.81 kB / 0.7208 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2425, allocations: 63.7 kB / 0.7209 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.2428, allocations: 203.1 kB / 0.7211 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2428, allocations: 0 / 0.7211 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2428, allocations: 0 / 0.7211 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.2428, allocations: 7.984 kB / 0.7211 GB, free: 7.723 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008349/0.2436, allocations: 421.3 kB / 0.7215 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2437, allocations: 12.03 kB / 0.7215 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.558e-05/0.2437, allocations: 38.75 kB / 0.7215 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.2438, allocations: 20.8 kB / 0.7215 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.2442, allocations: 201.9 kB / 0.7217 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.2444, allocations: 222.1 kB / 0.7219 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.2445, allocations: 8.375 kB / 0.7219 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.2449, allocations: 268.3 kB / 0.7222 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2449, allocations: 0 / 0.7222 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.2449, allocations: 4 kB / 0.7222 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.245, allocations: 11.98 kB / 0.7222 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/0.2451, allocations: 43.97 kB / 0.7223 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.2463, allocations: 407.6 kB / 0.7226 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.024e-05/0.2464, allocations: 34.56 kB / 0.7227 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.2464, allocations: 24.86 kB / 0.7227 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.2464, allocations: 15.8 kB / 0.7227 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2465, allocations: 34.56 kB / 0.7228 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.2465, allocations: 0 / 0.7228 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002986/0.2468, allocations: 101.6 kB / 0.7228 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.2468, allocations: 55.34 kB / 0.7229 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.2471, allocations: 219.8 kB / 0.7231 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.2471, allocations: 25.7 kB / 0.7231 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.2472, allocations: 128.2 kB / 0.7233 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.2473, allocations: 31.88 kB / 0.7233 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.2473, allocations: 29.72 kB / 0.7233 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.2475, allocations: 330.8 kB / 0.7236 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.2476, allocations: 27.98 kB / 0.7237 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2477, allocations: 102.2 kB / 0.7238 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.2479, allocations: 138.2 kB / 0.7239 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2479, allocations: 0 / 0.7239 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002708/0.2482, allocations: 153.6 kB / 0.724 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2482, allocations: 12.03 kB / 0.724 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2482, allocations: 4 kB / 0.724 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2482, allocations: 4 kB / 0.7241 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.2483, allocations: 23.98 kB / 0.7241 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.2484, allocations: 7.938 kB / 0.7241 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.2484, allocations: 11.94 kB / 0.7241 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2484, allocations: 8 kB / 0.7241 GB, free: 4.266 MB / 0.6198 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 0.0001603/0.2486, allocations: 145.8 kB / 0.7242 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.2487, allocations: 19.86 kB / 0.7243 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.2489, allocations: 119 kB / 0.7244 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2489, allocations: 11.94 kB / 0.7244 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2489, allocations: 3.938 kB / 0.7244 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2489, allocations: 0 / 0.7244 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.2492, allocations: 176.7 kB / 0.7246 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2492, allocations: 0 / 0.7246 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.2492, allocations: 15.98 kB / 0.7246 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2492, allocations: 0 / 0.7246 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2493, allocations: 8 kB / 0.7246 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2493, allocations: 0 / 0.7246 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2493, allocations: 3.938 kB / 0.7246 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.2495, allocations: 187.4 kB / 0.7248 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.2495, allocations: 19.84 kB / 0.7248 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.2495, allocations: 8 kB / 0.7248 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.2498, allocations: 19.97 kB / 0.7248 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.2498, allocations: 7.922 kB / 0.7248 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.2498, allocations: 11.98 kB / 0.7248 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001678/0.25, allocations: 165.4 kB / 0.725 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.25, allocations: 0 / 0.725 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003078/0.2503, allocations: 31.95 kB / 0.725 GB, free: 3.254 MB / 0.6198 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.0008511/0.2512, allocations: 0.7386 MB / 0.7257 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.2514, allocations: 67.84 kB / 0.7258 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2514, allocations: 0.75 kB / 0.7258 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.8e-05/0.2514, allocations: 27.92 kB / 0.7258 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2517, allocations: 31.7 kB / 0.7259 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.254, allocations: 1.919 MB / 0.7277 GB, free: 312 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2541, allocations: 118.2 kB / 0.7278 GB, free: 172 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.2543, allocations: 55.5 kB / 0.7279 GB, free: 124 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.487e-05/0.2543, allocations: 52.42 kB / 0.7279 GB, free: 68 kB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2543, allocations: 0 / 0.7279 GB, free: 68 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/0.2945, allocations: 5.024 MB / 0.7329 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.85, allocations: 6.859 kB / 0.7329 GB, free: 11.22 MB / 0.6355 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > IDEAS_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.80878833400493] Failed to read output from testmodel.py, exit status != 0: 11.964764684991678 11.98122717 11.735141762 Calling exit ...