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.001178/0.001178, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001238/0.001238, allocations: 209.7 kB / 22.24 MB, free: 3.57 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 0.9991/0.9991, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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-531:190: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-531:198: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.7949/0.7949, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="IDEAS_dev_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.000896/0.000896, allocations: 72.83 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.4877, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002048/0.4897, allocations: 1.5 MB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.4911, allocations: 1.201 MB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.4911, allocations: 4 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.4913, allocations: 23.3 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.4915, allocations: 39.67 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.4916, allocations: 67.11 kB / 0.8205 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.4918, allocations: 148.6 kB / 0.8207 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.4919, allocations: 38.77 kB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.492, allocations: 86.84 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.4922, allocations: 52.98 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.4922, allocations: 15 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/0.4923, allocations: 26.83 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.4923, allocations: 51.38 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.4924, allocations: 56.92 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.4926, allocations: 208.1 kB / 0.8212 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4926, allocations: 2.375 kB / 0.8212 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4926, allocations: 0 / 0.8212 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.4926, allocations: 0 / 0.8212 GB, free: 14.83 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.0005506/0.4932, allocations: 425.3 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4932, allocations: 13.95 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.4933, allocations: 40.11 kB / 0.8216 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.4933, allocations: 27.33 kB / 0.8217 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.4936, allocations: 196.2 kB / 0.8219 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.4937, allocations: 219.7 kB / 0.8221 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.4937, allocations: 8.312 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.494, allocations: 271.1 kB / 0.8223 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.494, allocations: 3.984 kB / 0.8223 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.494, allocations: 5.094 kB / 0.8223 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.494, allocations: 7.031 kB / 0.8224 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.37e-05/0.4941, allocations: 43.5 kB / 0.8224 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/0.4948, allocations: 404.2 kB / 0.8228 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.417e-05/0.4949, allocations: 31.59 kB / 0.8228 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.4949, allocations: 29.45 kB / 0.8228 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.4949, allocations: 4.406 kB / 0.8228 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.495, allocations: 36.97 kB / 0.8229 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.495, allocations: 1.031 kB / 0.8229 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002126/0.4952, allocations: 105.8 kB / 0.823 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.4952, allocations: 56.62 kB / 0.823 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4954, allocations: 222.3 kB / 0.8232 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4954, allocations: 27.08 kB / 0.8233 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.4954, allocations: 122.1 kB / 0.8234 GB, free: 13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.4955, allocations: 30.86 kB / 0.8234 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.4955, allocations: 31.58 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.4956, allocations: 325.8 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.03e-05/0.4956, allocations: 29.39 kB / 0.8238 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.4957, allocations: 100.3 kB / 0.8239 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.4958, allocations: 139.4 kB / 0.824 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4958, allocations: 1.062 kB / 0.824 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001676/0.496, allocations: 149.6 kB / 0.8242 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.496, allocations: 11.67 kB / 0.8242 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.496, allocations: 2.625 kB / 0.8242 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.496, allocations: 3.031 kB / 0.8242 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.375e-05/0.4961, allocations: 26.06 kB / 0.8242 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4961, allocations: 8.891 kB / 0.8242 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.4962, allocations: 13.16 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.4962, allocations: 6.891 kB / 0.8242 GB, free: 12.3 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 9.251e-05/0.4963, allocations: 141.9 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.4963, allocations: 18.64 kB / 0.8244 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.4965, allocations: 118.4 kB / 0.8245 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4965, allocations: 6.125 kB / 0.8245 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4965, allocations: 3.938 kB / 0.8245 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4965, allocations: 0.6094 kB / 0.8245 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.4967, allocations: 193.2 kB / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4967, allocations: 0.6562 kB / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.4967, allocations: 14.66 kB / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4967, allocations: 0 / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4967, allocations: 6.172 kB / 0.8247 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.4967, allocations: 4.594 kB / 0.8247 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4967, allocations: 9.5 kB / 0.8247 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.4969, allocations: 190.8 kB / 0.8249 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.4969, allocations: 12.47 kB / 0.8249 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.4969, allocations: 5.438 kB / 0.8249 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.497, allocations: 23.5 kB / 0.8249 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.497, allocations: 6.562 kB / 0.8249 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.497, allocations: 11.09 kB / 0.825 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001067/0.4971, allocations: 164.3 kB / 0.8251 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4971, allocations: 0 / 0.8251 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002142/0.4974, allocations: 36.05 kB / 0.8252 GB, free: 11.6 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.0004296/0.4978, allocations: 0.7448 MB / 0.8259 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.4979, allocations: 68 kB / 0.8259 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4979, allocations: 1.969 kB / 0.8259 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.939e-05/0.498, allocations: 31.12 kB / 0.826 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.4982, allocations: 21.8 kB / 0.826 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.4997, allocations: 1.924 MB / 0.8279 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.4998, allocations: 125.9 kB / 0.828 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.989e-05/0.4999, allocations: 53.09 kB / 0.828 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.4999, allocations: 45.84 kB / 0.8281 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.4999, allocations: 0 / 0.8281 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/0.5216, allocations: 4.925 MB / 0.8329 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/7.158, allocations: 5.062 kB / 0.8329 GB, free: 8.043 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.260246919933707] Failed to read output from testmodel.py, exit status != 0: 7.2372043477371335 7.254485538 6.759831312 Calling exit ...