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.001314/0.001314, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.00142/0.00142, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.108/1.108, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.7774/0.7774, allocations: 154.6 MB / 414.9 MB, free: 0.7031 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.904e-06/1.904e-06, allocations: 0 / 0.5203 GB, free: 2.605 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.38e-05, allocations: 5.016 kB / 0.5203 GB, free: 2.602 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003517/0.00355, allocations: 1.524 MB / 0.5218 GB, free: 1.086 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.005372, allocations: 1.244 MB / 0.523 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.005456, allocations: 0 / 0.523 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.005697, allocations: 19.86 kB / 0.523 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.005978, allocations: 47.7 kB / 0.5231 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.006182, allocations: 58.06 kB / 0.5231 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.0064, allocations: 147.5 kB / 0.5233 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.006573, allocations: 42.16 kB / 0.5233 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.006735, allocations: 103.8 kB / 0.5234 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.00689, allocations: 47.83 kB / 0.5235 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.006933, allocations: 12 kB / 0.5235 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-05/0.007015, allocations: 24.72 kB / 0.5235 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.831e-05/0.007104, allocations: 55.8 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.00718, allocations: 47.08 kB / 0.5236 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.007498, allocations: 187.3 kB / 0.5238 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.007502, allocations: 0 / 0.5238 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.634e-06/0.007503, allocations: 0 / 0.5238 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.007511, allocations: 0 / 0.5238 GB, free: 15.07 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.000764/0.008275, allocations: 0.5152 MB / 0.5243 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.00832, allocations: 8.031 kB / 0.5243 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.008422, allocations: 20.84 kB / 0.5243 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.008767, allocations: 210.6 kB / 0.5245 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.008944, allocations: 214.7 kB / 0.5247 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.008979, allocations: 13 kB / 0.5247 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.009269, allocations: 195.9 kB / 0.5249 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.009278, allocations: 192 / 0.5249 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.009306, allocations: 13.56 kB / 0.5249 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.009348, allocations: 12 kB / 0.5249 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.009403, allocations: 15.98 kB / 0.5249 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008091/0.01021, allocations: 421.6 kB / 0.5253 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.145e-05/0.01028, allocations: 35.05 kB / 0.5254 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.01032, allocations: 15.69 kB / 0.5254 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.01035, allocations: 5.281 kB / 0.5254 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.01038, allocations: 41.31 kB / 0.5254 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.854e-06/0.01038, allocations: 0 / 0.5254 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002625/0.01064, allocations: 90.48 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.01068, allocations: 55.41 kB / 0.5256 GB, free: 13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.01195, allocations: 256.1 kB / 0.5258 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.01198, allocations: 33.64 kB / 0.5259 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.01207, allocations: 170.8 kB / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.0121, allocations: 31.88 kB / 0.526 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.01216, allocations: 40.7 kB / 0.5261 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.01231, allocations: 0.504 MB / 0.5266 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.01234, allocations: 8 kB / 0.5266 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.01245, allocations: 122 kB / 0.5267 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.0126, allocations: 150.9 kB / 0.5268 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.01261, allocations: 4 kB / 0.5269 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00023/0.01284, allocations: 127.1 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.01286, allocations: 4.812 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.01287, allocations: 4 kB / 0.527 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.01288, allocations: 5.562 kB / 0.527 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.01299, allocations: 23.98 kB / 0.527 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.013, allocations: 7.938 kB / 0.527 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.01307, allocations: 19.88 kB / 0.527 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.01308, allocations: 6.438 kB / 0.527 GB, free: 11.36 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.0001075/0.01319, allocations: 164.5 kB / 0.5272 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.01324, allocations: 15.91 kB / 0.5272 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.01345, allocations: 102.9 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.01346, allocations: 4 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01346, allocations: 0 / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01346, allocations: 2.688 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.01369, allocations: 180.5 kB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.01369, allocations: 0 / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.01374, allocations: 12 kB / 0.5275 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01374, allocations: 3.938 kB / 0.5275 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01375, allocations: 8 kB / 0.5275 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.01376, allocations: 0 / 0.5275 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01376, allocations: 0.8438 kB / 0.5275 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.01407, allocations: 231.7 kB / 0.5277 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.0141, allocations: 11.91 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.01411, allocations: 1.125 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.01427, allocations: 11.98 kB / 0.5278 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.01429, allocations: 9.391 kB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.01431, allocations: 11.98 kB / 0.5278 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001168/0.01443, allocations: 186 kB / 0.528 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01443, allocations: 0 / 0.528 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003109/0.01474, allocations: 33.38 kB / 0.528 GB, free: 10.33 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.0002743/0.01502, allocations: 121.3 kB / 0.5281 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.01516, allocations: 58.42 kB / 0.5282 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01517, allocations: 0 / 0.5282 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.0152, allocations: 27.61 kB / 0.5282 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.01553, allocations: 40.44 kB / 0.5282 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.01602, allocations: 264.2 kB / 0.5285 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.227e-05/0.01608, allocations: 79.33 kB / 0.5286 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.01619, allocations: 50.08 kB / 0.5286 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.01623, allocations: 16.5 kB / 0.5286 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.01623, allocations: 0 / 0.5286 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of Templates: time 0.005386/0.02162, allocations: 2.471 MB / 0.531 GB, free: 7.32 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.9714933237992227]