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.001167/0.001167, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002214/0.00338, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001117/0.001117, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001478/0.002595, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.004/1.004, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09149/1.095, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.769/0.769, allocations: 154.6 MB / 398.8 MB, free: 372 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3317/1.101, allocations: 49.04 MB / 447.8 MB, free: 6.598 MB / 426.7 MB " [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.593e-06/1.593e-06, allocations: 0 / 449.1 MB, free: 5.309 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.304e-05, allocations: 7.781 kB / 449.1 MB, free: 5.305 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003008/0.003031, allocations: 1.587 MB / 450.7 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.004213, allocations: 1.287 MB / 452 MB, free: 2.461 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.004256, allocations: 0 / 452 MB, free: 2.461 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.004364, allocations: 20.89 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.004517, allocations: 47.81 kB / 452.1 MB, free: 2.398 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.004653, allocations: 57.81 kB / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.004808, allocations: 146 kB / 452.3 MB, free: 2.223 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.004907, allocations: 41.86 kB / 452.3 MB, free: 2.184 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.005032, allocations: 115.8 kB / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.978e-05/0.005132, allocations: 49.8 kB / 452.5 MB, free: 2.023 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.00516, allocations: 12 kB / 452.5 MB, free: 2.012 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.889e-05/0.005219, allocations: 27.98 kB / 452.5 MB, free: 1.984 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.005265, allocations: 27.94 kB / 452.5 MB, free: 1.957 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.005303, allocations: 31.88 kB / 452.6 MB, free: 1.926 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.005484, allocations: 156.1 kB / 452.7 MB, free: 1.773 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.005491, allocations: 0.625 kB / 452.7 MB, free: 1.773 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005492, allocations: 3.938 kB / 452.7 MB, free: 1.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.005501, allocations: 3.312 kB / 452.7 MB, free: 1.77 MB / 426.7 MB 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.0004195/0.00592, allocations: 417.6 kB / 453.1 MB, free: 1.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.005947, allocations: 8.031 kB / 453.1 MB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.00599, allocations: 13.48 kB / 453.2 MB, free: 1.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.006164, allocations: 190.2 kB / 453.3 MB, free: 1.105 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.006269, allocations: 218.2 kB / 453.6 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.006289, allocations: 8.375 kB / 453.6 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.006453, allocations: 189.9 kB / 453.8 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.006459, allocations: 192 / 453.8 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.006472, allocations: 8.125 kB / 453.8 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.006497, allocations: 13.86 kB / 453.8 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.00652, allocations: 14.39 kB / 453.8 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.006909, allocations: 278.5 kB / 454.1 MB, free: 308 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.755e-05/0.006946, allocations: 31.78 kB / 454.1 MB, free: 268 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.006964, allocations: 12.86 kB / 454.1 MB, free: 252 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.006984, allocations: 7.984 kB / 454.1 MB, free: 244 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.007001, allocations: 31.47 kB / 454.1 MB, free: 204 kB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.007002, allocations: 0 / 454.1 MB, free: 204 kB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001135/0.007115, allocations: 62.61 kB / 454.2 MB, free: 136 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.007135, allocations: 51.41 kB / 454.3 MB, free: 72 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.007256, allocations: 187.7 kB / 454.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.007275, allocations: 31.02 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.007316, allocations: 110 kB / 454.6 MB, free: 15.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.007334, allocations: 23.81 kB / 454.6 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.007371, allocations: 29.69 kB / 454.6 MB, free: 15.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.007448, allocations: 327.5 kB / 454.9 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.007463, allocations: 17.14 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.007516, allocations: 78.23 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.327e-05/0.007609, allocations: 109.4 kB / 455.1 MB, free: 15.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.007612, allocations: 3.938 kB / 455.2 MB, free: 15.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001008/0.007713, allocations: 104.8 kB / 455.3 MB, free: 14.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.007724, allocations: 5.094 kB / 455.3 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.007729, allocations: 4 kB / 455.3 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.007739, allocations: 4 kB / 455.3 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.007803, allocations: 24.55 kB / 455.3 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.007809, allocations: 13.14 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.766e-05/0.007847, allocations: 15.89 kB / 455.3 MB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.007854, allocations: 4 kB / 455.3 MB, free: 14.89 MB / 442.7 MB 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 6.639e-05/0.007921, allocations: 125.4 kB / 455.4 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.007946, allocations: 11.98 kB / 455.5 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.00805, allocations: 95.42 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.008052, allocations: 0.6875 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.008053, allocations: 0 / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.008055, allocations: 0.625 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.008185, allocations: 97.8 kB / 455.6 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.008188, allocations: 4.562 kB / 455.7 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.00822, allocations: 20.61 kB / 455.7 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.008233, allocations: 17.02 kB / 455.7 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.008234, allocations: 0.625 kB / 455.7 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.008238, allocations: 0.9375 kB / 455.7 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.00824, allocations: 3.984 kB / 455.7 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00824, allocations: 0 / 455.7 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.902e-05/0.008329, allocations: 165.1 kB / 455.9 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.00834, allocations: 3.938 kB / 455.9 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.008424, allocations: 11.98 kB / 455.9 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.008437, allocations: 11.98 kB / 455.9 MB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.008449, allocations: 6.016 kB / 455.9 MB, free: 14.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.422e-05/0.008493, allocations: 56.03 kB / 455.9 MB, free: 14.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008493, allocations: 0 / 455.9 MB, free: 14.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.008663, allocations: 31.94 kB / 456 MB, free: 14.2 MB / 442.7 MB 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.0001938/0.008857, allocations: 112.5 kB / 456.1 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.541e-05/0.008953, allocations: 48.3 kB / 456.1 MB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.008958, allocations: 4 kB / 456.1 MB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.008985, allocations: 28.83 kB / 456.2 MB, free: 14.01 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.009226, allocations: 155.3 kB / 456.3 MB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.009807, allocations: 265.9 kB / 456.6 MB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.009858, allocations: 83.17 kB / 456.7 MB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.943e-05/0.009927, allocations: 26.28 kB / 456.7 MB, free: 13.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.01011, allocations: 103.2 kB / 456.8 MB, free: 13.32 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01011, allocations: 0.9062 kB / 456.8 MB, free: 13.32 MB / 442.7 MB Notification: Performance of Templates: time 0.004525/0.01464, allocations: 2.914 MB / 459.7 MB, free: 10.62 MB / 442.7 MB " [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.686197955161333]