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.001309/0.001309, 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.001693/0.001693, 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.924/0.924, 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 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.716/0.716, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.618 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.344e-05, allocations: 8.625 kB / 0.618 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002408/0.002431, allocations: 1.49 MB / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.003683, allocations: 1.215 MB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.003748, allocations: 0 / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.003975, allocations: 23.84 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.004209, allocations: 43.66 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.004377, allocations: 63.09 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.004554, allocations: 147.5 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.004701, allocations: 37.25 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.004813, allocations: 103.8 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.004959, allocations: 51.81 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.004991, allocations: 12 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.231e-05/0.005063, allocations: 24 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.214e-05/0.005135, allocations: 47.88 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.005191, allocations: 51.83 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.005428, allocations: 219.3 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005431, allocations: 0 / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.214e-06/0.005433, allocations: 4 kB / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.005439, 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.0005659/0.006005, allocations: 425.3 kB / 0.6219 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.006046, allocations: 17.47 kB / 0.6219 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.006086, allocations: 38.73 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.006137, allocations: 16.84 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.006362, allocations: 198.1 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.006491, allocations: 222.1 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.006505, allocations: 12.36 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.006777, allocations: 256.9 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.006785, allocations: 192 / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.006804, allocations: 7.938 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.006829, allocations: 12 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.546e-05/0.006894, allocations: 39.97 kB / 0.6226 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.007634, allocations: 407.5 kB / 0.623 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.327e-05/0.007708, allocations: 34.58 kB / 0.6231 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.007739, allocations: 20.84 kB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.00777, allocations: 11.94 kB / 0.6231 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.007793, allocations: 30.56 kB / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.532e-06/0.007795, allocations: 0 / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002404/0.008035, allocations: 113.7 kB / 0.6232 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.008066, allocations: 51.41 kB / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.008229, allocations: 216.8 kB / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.008248, allocations: 25.7 kB / 0.6235 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.00831, allocations: 128.1 kB / 0.6236 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.008327, allocations: 27.75 kB / 0.6237 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.008371, allocations: 33.7 kB / 0.6237 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.008463, allocations: 326.8 kB / 0.624 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.008509, allocations: 31.98 kB / 0.624 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.676e-05/0.008586, allocations: 98.22 kB / 0.6241 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.008715, allocations: 142.2 kB / 0.6243 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.008718, allocations: 0 / 0.6243 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001738/0.008892, allocations: 149.3 kB / 0.6244 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.008908, allocations: 16.3 kB / 0.6244 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.008914, allocations: 4 kB / 0.6244 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.00893, allocations: 4 kB / 0.6244 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.009011, allocations: 20 kB / 0.6245 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.00902, allocations: 7.984 kB / 0.6245 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.009068, allocations: 15.89 kB / 0.6245 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.009082, allocations: 16.19 kB / 0.6245 GB, free: 6.648 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 0.0001012/0.009183, allocations: 137.8 kB / 0.6246 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.00922, allocations: 19.91 kB / 0.6246 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.009409, allocations: 115.5 kB / 0.6247 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.009413, allocations: 0 / 0.6247 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.00942, allocations: 4 kB / 0.6248 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.009427, allocations: 7.984 kB / 0.6248 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.009619, allocations: 196.6 kB / 0.6249 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.009621, allocations: 0 / 0.6249 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.009662, allocations: 12 kB / 0.625 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/0.009896, allocations: 3.984 kB / 0.625 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.009908, allocations: 4 kB / 0.625 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009909, allocations: 3.938 kB / 0.625 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.009913, allocations: 3.984 kB / 0.625 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.01009, allocations: 187.4 kB / 0.6252 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.01011, allocations: 15.91 kB / 0.6252 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.01012, allocations: 3.938 kB / 0.6252 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.01025, allocations: 23.92 kB / 0.6252 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.01028, allocations: 7.984 kB / 0.6252 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.01029, allocations: 7.984 kB / 0.6252 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001084/0.0104, allocations: 165.5 kB / 0.6254 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.0104, allocations: 0 / 0.6254 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002424/0.01064, allocations: 35.86 kB / 0.6254 GB, free: 5.641 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.0005675/0.01121, allocations: 0.7418 MB / 0.6261 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.01138, allocations: 71.83 kB / 0.6262 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.01138, allocations: 0 / 0.6262 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.01141, allocations: 28.67 kB / 0.6262 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.0002812/0.01169, allocations: 20 kB / 0.6262 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.01329, allocations: 1.913 MB / 0.6281 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.699e-05/0.01338, allocations: 118.2 kB / 0.6282 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.589e-05/0.01347, allocations: 52.33 kB / 0.6283 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.01355, allocations: 44.48 kB / 0.6283 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of SimCode: time 7.02e-07/0.01355, allocations: 3.938 kB / 0.6283 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.03657, allocations: 5.042 MB / 0.6332 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.024, allocations: 7.562 kB / 0.6332 GB, free: 13.66 MB / 0.6042 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 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: 9.751377577893436] Failed to read output from testmodel.py, exit status != 0: 7.10846140421927 7.118455395 7.11103748 Calling exit ...