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.001811/0.001811, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002735/0.002735, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.334/1.334, allocations: 154.8 MB / 414.4 MB, free: 456 kB / 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 178] 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: translateModel(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") translateModel(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.405e-05, allocations: 3.078 kB / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003096/0.00313, allocations: 1.509 MB / 0.5213 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.005092, allocations: 1.233 MB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.005148, allocations: 0.7188 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.005357, allocations: 17.7 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.005595, allocations: 47.72 kB / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.005796, allocations: 57.81 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.006046, allocations: 147.5 kB / 0.5228 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.006199, allocations: 37.16 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.006354, allocations: 103.8 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.006847, allocations: 39.89 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.144e-05/0.006898, allocations: 12 kB / 0.523 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.223e-05/0.006991, allocations: 33.39 kB / 0.523 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.007101, allocations: 55.81 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.27e-05/0.007183, allocations: 47.83 kB / 0.5231 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.007532, allocations: 216.3 kB / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.007535, allocations: 0 / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.001e-06/0.007536, allocations: 3.938 kB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.007541, allocations: 0.9688 kB / 0.5233 GB, free: 14.79 MB / 0.4948 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.0008322/0.008374, allocations: 0.511 MB / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.008413, allocations: 13.03 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.008505, allocations: 20.8 kB / 0.5238 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.00888, allocations: 201 kB / 0.524 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.009097, allocations: 218.2 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.009131, allocations: 12.88 kB / 0.5242 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.00966, allocations: 229.9 kB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.009669, allocations: 192 / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.009696, allocations: 12.11 kB / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.009728, allocations: 13.2 kB / 0.5245 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.009805, allocations: 27.97 kB / 0.5245 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.01081, allocations: 437.2 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.727e-05/0.0109, allocations: 35.05 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.01094, allocations: 17.44 kB / 0.525 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.01097, allocations: 4 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.01101, allocations: 37.39 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.01101, allocations: 0 / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002911/0.0113, allocations: 99.22 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.01135, allocations: 51.41 kB / 0.5252 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.01167, allocations: 291.5 kB / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.0117, allocations: 29.7 kB / 0.5255 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.01183, allocations: 171.6 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.01187, allocations: 27.75 kB / 0.5257 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.01194, allocations: 44.83 kB / 0.5257 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002829/0.01222, allocations: 0.5079 MB / 0.5262 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.648e-05/0.01226, allocations: 15.98 kB / 0.5262 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.01243, allocations: 140.1 kB / 0.5263 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.01265, allocations: 160.4 kB / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.01266, allocations: 4 kB / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002601/0.01292, allocations: 144.3 kB / 0.5266 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.01294, allocations: 6.188 kB / 0.5266 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.01295, allocations: 10.69 kB / 0.5267 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.01296, allocations: 4 kB / 0.5267 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.01307, allocations: 23.98 kB / 0.5267 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.01308, allocations: 0 / 0.5267 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.01315, allocations: 19.89 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.01316, allocations: 4.312 kB / 0.5267 GB, free: 10.95 MB / 0.4948 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.0001593/0.01332, allocations: 185 kB / 0.5269 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.01339, allocations: 19.91 kB / 0.5269 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.01361, allocations: 107.1 kB / 0.527 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.01362, allocations: 3.984 kB / 0.527 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01362, allocations: 0 / 0.527 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01362, allocations: 0.5938 kB / 0.527 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.01388, allocations: 188.5 kB / 0.5272 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01388, allocations: 0.6562 kB / 0.5272 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.01394, allocations: 16.83 kB / 0.5272 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01394, allocations: 4 kB / 0.5272 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.01395, allocations: 0 / 0.5272 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01395, allocations: 0.5 kB / 0.5272 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01395, allocations: 1.781 kB / 0.5272 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.01421, allocations: 235.7 kB / 0.5274 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.01424, allocations: 19.83 kB / 0.5275 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.01426, allocations: 0 / 0.5275 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.01445, allocations: 14.42 kB / 0.5275 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.01448, allocations: 8 kB / 0.5275 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.0145, allocations: 7.984 kB / 0.5275 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001924/0.0147, allocations: 205.4 kB / 0.5277 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.0147, allocations: 0 / 0.5277 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002988/0.01499, allocations: 31.94 kB / 0.5277 GB, free: 9.863 MB / 0.4948 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.0002959/0.01529, allocations: 126.3 kB / 0.5278 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.01547, allocations: 66.12 kB / 0.5279 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.01547, allocations: 0 / 0.5279 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.01552, allocations: 31.67 kB / 0.5279 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.01584, allocations: 43.69 kB / 0.528 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.01638, allocations: 282.6 kB / 0.5282 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.01651, allocations: 114.2 kB / 0.5283 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.01663, allocations: 47.83 kB / 0.5284 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.01667, allocations: 20.48 kB / 0.5284 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.01667, allocations: 3.188 kB / 0.5284 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of Templates: time 0.006746/0.02342, allocations: 2.454 MB / 0.5308 GB, free: 6.801 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.05087303603068]