Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.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.001368/0.001368, allocations: 93.06 kB / 19.65 MB, free: 272 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.001702/0.001702, allocations: 173 kB / 23.02 MB, free: 1.543 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.9727/0.9727, allocations: 177.1 MB / 203.4 MB, free: 5.641 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-545:108: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-545:116: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.8033/0.8033, allocations: 154.6 MB / 414.5 MB, free: 0.6562 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: translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.5203 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.193e-05, allocations: 5.391 kB / 0.5203 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002401/0.002433, allocations: 1.534 MB / 0.5218 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.003727, allocations: 1.255 MB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.003791, allocations: 0 / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.003996, allocations: 15.86 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.004238, allocations: 45.84 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.004391, allocations: 55.84 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.004559, allocations: 155.5 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.004699, allocations: 38.7 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.004801, allocations: 103.8 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.004931, allocations: 43.89 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.004964, allocations: 12 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.005031, allocations: 27.98 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.00509, allocations: 44.39 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.005149, allocations: 55.81 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.005373, allocations: 184.3 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.005375, allocations: 4 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005376, allocations: 0.9375 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.005381, allocations: 0 / 0.5238 GB, free: 14.71 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.0005529/0.005934, allocations: 0.5083 MB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.005972, allocations: 12.03 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/0.006043, allocations: 21.88 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.006277, allocations: 210 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.006404, allocations: 219.6 kB / 0.5247 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.006425, allocations: 12.31 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.006634, allocations: 190.6 kB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006644, allocations: 4.188 kB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.006665, allocations: 9.25 kB / 0.5249 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/0.006706, allocations: 11.98 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.816e-05/0.006744, allocations: 15.98 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.007373, allocations: 425.3 kB / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.544e-05/0.007438, allocations: 28.03 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.007469, allocations: 23.67 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.007492, allocations: 4.625 kB / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.007522, allocations: 37.33 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.007523, allocations: 0.7812 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002079/0.007731, allocations: 81.55 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.007809, allocations: 60.23 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.007964, allocations: 254.9 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.007987, allocations: 32.09 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.008061, allocations: 175 kB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.008082, allocations: 27.89 kB / 0.526 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.008121, allocations: 35.36 kB / 0.5261 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.008249, allocations: 0.5079 MB / 0.5266 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.008276, allocations: 11.98 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.00835, allocations: 117 kB / 0.5267 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.008461, allocations: 147.5 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.008464, allocations: 0.9062 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001635/0.008627, allocations: 131.6 kB / 0.527 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.008644, allocations: 7.969 kB / 0.527 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.008652, allocations: 7.938 kB / 0.527 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.008671, allocations: 7.984 kB / 0.527 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.008775, allocations: 23.98 kB / 0.527 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.008783, allocations: 7.938 kB / 0.527 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.008827, allocations: 15.89 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.008838, allocations: 8 kB / 0.527 GB, free: 11 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 7.864e-05/0.008917, allocations: 167 kB / 0.5272 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.00895, allocations: 15.91 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.009096, allocations: 102.9 kB / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.009098, allocations: 0 / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.009102, allocations: 0 / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.009107, allocations: 7.984 kB / 0.5273 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.00927, allocations: 176.5 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.009272, allocations: 1.406 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.009307, allocations: 15.98 kB / 0.5275 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.00931, allocations: 0 / 0.5275 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.00932, allocations: 8 kB / 0.5275 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.009322, allocations: 0.9688 kB / 0.5275 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.009324, allocations: 0 / 0.5275 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.009485, allocations: 228.9 kB / 0.5277 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.009503, allocations: 15.89 kB / 0.5277 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.009516, allocations: 0 / 0.5277 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.882e-05/0.009615, allocations: 15.03 kB / 0.5278 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.009635, allocations: 3.984 kB / 0.5278 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.00965, allocations: 11.98 kB / 0.5278 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.364e-05/0.009743, allocations: 186 kB / 0.528 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009744, allocations: 0 / 0.528 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002125/0.009956, allocations: 31.92 kB / 0.528 GB, free: 9.977 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.0002261/0.01018, allocations: 125.8 kB / 0.5281 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.01031, allocations: 52.94 kB / 0.5282 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01031, allocations: 4 kB / 0.5282 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.627e-05/0.01034, allocations: 36.02 kB / 0.5282 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01057, allocations: 27.23 kB / 0.5282 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.01101, allocations: 270.4 kB / 0.5285 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.764e-05/0.01107, allocations: 83.31 kB / 0.5286 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.578e-05/0.01116, allocations: 41.48 kB / 0.5286 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.0112, allocations: 21.98 kB / 0.5286 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of SimCode: time 2.034e-06/0.0112, allocations: 0 / 0.5286 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of Templates: time 0.004799/0.016, allocations: 2.727 MB / 0.5313 GB, free: 6.707 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9360935548320413]