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.00079/0.00079, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008144/0.0008144, allocations: 170.3 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.9095/0.9095, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.7495/0.7495, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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 1.884e-06/1.884e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.136e-05, allocations: 8.438 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002523/0.002555, allocations: 1.489 MB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.004269, allocations: 1.215 MB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-05/0.004368, allocations: 0 / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.004676, allocations: 31.72 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.005003, allocations: 43.77 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.005227, allocations: 51.8 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.005433, allocations: 151.5 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.005601, allocations: 41.2 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.005726, allocations: 107.8 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.005928, allocations: 47.89 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.005963, allocations: 12 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.006034, allocations: 23.94 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.006108, allocations: 51.81 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.006164, allocations: 51.83 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.006398, allocations: 211.3 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.006402, allocations: 8 kB / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.643e-06/0.006404, allocations: 0 / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.006409, allocations: 0 / 0.6215 GB, free: 10.1 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.0005824/0.006991, allocations: 425.3 kB / 0.6219 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.007036, allocations: 12.03 kB / 0.6219 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.00708, allocations: 38.73 kB / 0.622 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.007137, allocations: 20.84 kB / 0.622 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.007387, allocations: 197.4 kB / 0.6222 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.007532, allocations: 218.2 kB / 0.6224 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.007547, allocations: 8.359 kB / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.007828, allocations: 272.8 kB / 0.6227 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.007837, allocations: 4.172 kB / 0.6227 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.007856, allocations: 7.938 kB / 0.6227 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.007879, allocations: 7.984 kB / 0.6227 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.018e-05/0.007939, allocations: 43.97 kB / 0.6227 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006913/0.00863, allocations: 399.6 kB / 0.6231 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.502e-05/0.008695, allocations: 38.56 kB / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.008724, allocations: 20.86 kB / 0.6232 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.00875, allocations: 7.984 kB / 0.6232 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.008774, allocations: 34.56 kB / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.008776, allocations: 0 / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002259/0.009002, allocations: 113.6 kB / 0.6233 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.00903, allocations: 51.41 kB / 0.6233 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.009184, allocations: 216.8 kB / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.009202, allocations: 25.7 kB / 0.6236 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.009264, allocations: 124.2 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.009282, allocations: 31.75 kB / 0.6237 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.009333, allocations: 33.7 kB / 0.6238 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.009417, allocations: 326.8 kB / 0.6241 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.009458, allocations: 31.97 kB / 0.6241 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.00953, allocations: 98.22 kB / 0.6242 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.009649, allocations: 142.2 kB / 0.6243 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.009652, allocations: 3.938 kB / 0.6243 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001707/0.009822, allocations: 153.5 kB / 0.6245 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.009838, allocations: 8 kB / 0.6245 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.009844, allocations: 0 / 0.6245 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.009858, allocations: 8 kB / 0.6245 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.009938, allocations: 27.92 kB / 0.6245 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.009945, allocations: 4 kB / 0.6245 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.009992, allocations: 11.95 kB / 0.6245 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01, allocations: 11.94 kB / 0.6246 GB, free: 6.645 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 9.295e-05/0.0101, allocations: 145.7 kB / 0.6247 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.01013, allocations: 20.06 kB / 0.6247 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.01029, allocations: 118.4 kB / 0.6248 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.0103, allocations: 0 / 0.6248 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.0103, allocations: 4 kB / 0.6248 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01031, allocations: 0 / 0.6248 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.01046, allocations: 188.6 kB / 0.625 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01046, allocations: 0 / 0.625 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.01049, allocations: 15.94 kB / 0.625 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.0105, allocations: 3.984 kB / 0.625 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.0105, allocations: 0 / 0.625 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.0105, allocations: 3.938 kB / 0.625 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01051, allocations: 8 kB / 0.625 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.01064, allocations: 187.8 kB / 0.6252 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.01066, allocations: 15.84 kB / 0.6252 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.01067, allocations: 0 / 0.6252 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.01079, allocations: 19.97 kB / 0.6252 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.01081, allocations: 4 kB / 0.6253 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.01083, allocations: 19.97 kB / 0.6253 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.43e-05/0.01092, allocations: 157.5 kB / 0.6254 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01092, allocations: 0 / 0.6254 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000216/0.01114, allocations: 35.94 kB / 0.6255 GB, free: 5.652 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.000452/0.01159, allocations: 0.7501 MB / 0.6262 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.01173, allocations: 72.28 kB / 0.6263 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.01173, allocations: 4.25 kB / 0.6263 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.01175, allocations: 27.92 kB / 0.6263 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.01199, allocations: 18.06 kB / 0.6263 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.01338, allocations: 1.905 MB / 0.6282 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.375e-05/0.01347, allocations: 126.2 kB / 0.6283 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.741e-05/0.01356, allocations: 53.38 kB / 0.6283 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.01363, allocations: 48.47 kB / 0.6284 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of SimCode: time 9.32e-07/0.01363, allocations: 3.938 kB / 0.6284 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.03294, allocations: 5.03 MB / 0.6333 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/6.916, allocations: 18.62 kB / 0.6333 GB, free: 13.65 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 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.761960286647081] Failed to read output from testmodel.py, exit status != 0: 6.9979340778663754 7.012400164 7.003207653 Calling exit ...