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.0008744/0.0008744, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009855/0.0009855, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 0.9141/0.9141, allocations: 177.1 MB / 202.8 MB, free: 5.734 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-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 0.7176/0.7176, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.569e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002164/0.00219, allocations: 1.501 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.003443, allocations: 1.215 MB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.003511, allocations: 0 / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.003711, allocations: 19.8 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.003951, allocations: 43.78 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.004159, allocations: 62.53 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.004339, allocations: 151.5 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.004484, allocations: 41.22 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.004586, allocations: 99.8 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.004717, allocations: 47.88 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.004744, allocations: 12 kB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.307e-05/0.004807, allocations: 27.94 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.004871, allocations: 51.81 kB / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.004926, allocations: 59.81 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.005245, allocations: 207.4 kB / 0.6215 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005248, allocations: 4 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.373e-06/0.005249, allocations: 0 / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.005255, allocations: 0 / 0.6215 GB, free: 10.14 MB / 0.5886 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.0006951/0.00595, allocations: 417.3 kB / 0.6219 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.006006, allocations: 12.03 kB / 0.6219 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/0.00606, allocations: 46.67 kB / 0.622 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.006134, allocations: 20.84 kB / 0.622 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.00644, allocations: 201.4 kB / 0.6222 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.006604, allocations: 218.2 kB / 0.6224 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.00662, allocations: 12.31 kB / 0.6224 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.006973, allocations: 256.9 kB / 0.6226 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.006983, allocations: 4.125 kB / 0.6226 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.007008, allocations: 11.94 kB / 0.6227 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.007032, allocations: 4 kB / 0.6227 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.12e-05/0.007113, allocations: 43.97 kB / 0.6227 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.008245, allocations: 411.5 kB / 0.6231 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.841e-05/0.008323, allocations: 30.58 kB / 0.6231 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.008362, allocations: 20.84 kB / 0.6231 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.008391, allocations: 4 kB / 0.6232 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.008421, allocations: 46.55 kB / 0.6232 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.008422, allocations: 0 / 0.6232 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002381/0.00866, allocations: 109.5 kB / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.008689, allocations: 51.41 kB / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.008874, allocations: 212.8 kB / 0.6236 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.008896, allocations: 29.7 kB / 0.6236 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.00896, allocations: 124.1 kB / 0.6237 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.008978, allocations: 27.91 kB / 0.6237 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.009018, allocations: 33.7 kB / 0.6238 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.009115, allocations: 330.8 kB / 0.6241 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.009164, allocations: 27.98 kB / 0.6241 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.009268, allocations: 98.22 kB / 0.6242 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.009427, allocations: 146.1 kB / 0.6243 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.00943, allocations: 0 / 0.6243 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002387/0.009669, allocations: 149.3 kB / 0.6245 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.009686, allocations: 8 kB / 0.6245 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.009693, allocations: 4.359 kB / 0.6245 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.009707, allocations: 8 kB / 0.6245 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.009785, allocations: 27.94 kB / 0.6245 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.009792, allocations: 7.984 kB / 0.6245 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.009863, allocations: 7.953 kB / 0.6245 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.009876, allocations: 11.94 kB / 0.6245 GB, free: 6.695 MB / 0.5886 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 8.858e-05/0.009965, allocations: 149.7 kB / 0.6247 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.009999, allocations: 15.91 kB / 0.6247 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.01015, allocations: 110.5 kB / 0.6248 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01015, allocations: 0 / 0.6248 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.01016, allocations: 8 kB / 0.6248 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01016, allocations: 4 kB / 0.6248 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.0103, allocations: 192.6 kB / 0.625 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.0103, allocations: 0 / 0.625 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.01033, allocations: 15.94 kB / 0.625 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01033, allocations: 0 / 0.625 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.01034, allocations: 0 / 0.625 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.01034, allocations: 3.938 kB / 0.625 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01034, allocations: 4 kB / 0.625 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.01046, allocations: 187.8 kB / 0.6252 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.01047, allocations: 19.83 kB / 0.6252 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.01049, allocations: 8 kB / 0.6252 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.0106, allocations: 15.98 kB / 0.6252 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.01061, allocations: 7.984 kB / 0.6253 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.01063, allocations: 11.98 kB / 0.6253 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.701e-05/0.01071, allocations: 165.4 kB / 0.6254 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01071, allocations: 0 / 0.6254 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001962/0.01091, allocations: 31.94 kB / 0.6255 GB, free: 5.695 MB / 0.5886 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.0003976/0.01131, allocations: 0.7468 MB / 0.6262 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.01143, allocations: 71.83 kB / 0.6263 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01143, allocations: 0 / 0.6263 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.402e-05/0.01146, allocations: 23.98 kB / 0.6263 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01169, allocations: 22.27 kB / 0.6263 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.01303, allocations: 1.917 MB / 0.6282 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.108e-05/0.01312, allocations: 114.2 kB / 0.6283 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.2e-05/0.0132, allocations: 59.17 kB / 0.6283 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.01326, allocations: 48.47 kB / 0.6284 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.01326, allocations: 0 / 0.6284 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.03116, allocations: 5.031 MB / 0.6333 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/6.858, allocations: 12.52 kB / 0.6333 GB, free: 13.7 MB / 0.6042 GB " [Timeout remaining time 653] (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: 9.543515675701201] Failed to read output from testmodel.py, exit status != 0: 6.939619485288858 6.949253661 6.942118227 Calling exit ...