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.0009197/0.0009197, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.003388/0.003388, allocations: 169 kB / 23.27 MB, free: 1.223 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.9664/0.9664, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7442/0.7442, allocations: 154.6 MB / 414.8 MB, free: 0.5391 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.443e-06/1.443e-06, allocations: 0 / 0.5207 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.682e-05, allocations: 5.922 kB / 0.5207 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001809/0.001826, allocations: 1.53 MB / 0.5222 GB, free: 424 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.002916, allocations: 1.248 MB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.00296, allocations: 0 / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.003074, allocations: 23.84 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.003202, allocations: 43.72 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.003306, allocations: 54.75 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.003435, allocations: 151.5 kB / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.14e-05/0.003526, allocations: 44.8 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.003611, allocations: 103.8 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.003695, allocations: 48.61 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.00372, allocations: 12 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-05/0.003763, allocations: 25.08 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.00381, allocations: 55.81 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.00385, allocations: 43.89 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.004004, allocations: 182.2 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.004006, allocations: 0 / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004006, allocations: 0 / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.304e-06/0.004009, allocations: 0 / 0.5242 GB, free: 14.4 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.0003614/0.00437, allocations: 0.523 MB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.473e-05/0.004395, allocations: 8.031 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.004433, allocations: 20.84 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.004844, allocations: 205.3 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.004947, allocations: 219.4 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.004962, allocations: 4.375 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.005102, allocations: 188.9 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-06/0.005106, allocations: 1.156 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.005118, allocations: 4.125 kB / 0.5253 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.005136, allocations: 16.88 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/0.00516, allocations: 17.95 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.005561, allocations: 381.8 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.312e-05/0.005594, allocations: 32.27 kB / 0.5258 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.005615, allocations: 19.62 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.005639, allocations: 7 kB / 0.5258 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.005659, allocations: 42.02 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 7.72e-07/0.005659, allocations: 0 / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001239/0.005783, allocations: 87.42 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.005806, allocations: 55.41 kB / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.005945, allocations: 254.8 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.005963, allocations: 29.7 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.006029, allocations: 166.8 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.006048, allocations: 32.59 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.006084, allocations: 43.34 kB / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.006205, allocations: 0.4989 MB / 0.527 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.006221, allocations: 11.98 kB / 0.527 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-05/0.00628, allocations: 112.2 kB / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/0.006376, allocations: 151.1 kB / 0.5272 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006379, allocations: 4 kB / 0.5272 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001126/0.006491, allocations: 121.2 kB / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.006502, allocations: 4 kB / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006508, allocations: 4 kB / 0.5273 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.006515, allocations: 4 kB / 0.5273 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.006567, allocations: 31.92 kB / 0.5274 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.006573, allocations: 6.75 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.006605, allocations: 11.89 kB / 0.5274 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.006611, allocations: 4 kB / 0.5274 GB, free: 10.78 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.962e-05/0.00669, allocations: 168.5 kB / 0.5276 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.006719, allocations: 15.91 kB / 0.5276 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.006839, allocations: 106.9 kB / 0.5277 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.00684, allocations: 1.625 kB / 0.5277 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.006843, allocations: 0 / 0.5277 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006846, allocations: 0 / 0.5277 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.006966, allocations: 141.1 kB / 0.5278 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006967, allocations: 0 / 0.5278 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.006992, allocations: 20.47 kB / 0.5278 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.006993, allocations: 2.25 kB / 0.5278 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006999, allocations: 8 kB / 0.5278 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.006999, allocations: 0 / 0.5278 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.007002, allocations: 3.984 kB / 0.5278 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.007125, allocations: 219.8 kB / 0.5281 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.007138, allocations: 15.84 kB / 0.5281 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.007149, allocations: 8.875 kB / 0.5281 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.007231, allocations: 11.98 kB / 0.5281 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.007242, allocations: 4.641 kB / 0.5281 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.007256, allocations: 11.98 kB / 0.5281 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.736e-05/0.007333, allocations: 179.5 kB / 0.5283 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007333, allocations: 3.938 kB / 0.5283 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001785/0.007512, allocations: 27.94 kB / 0.5283 GB, free: 9.793 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.0001503/0.007662, allocations: 130.2 kB / 0.5284 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.818e-05/0.00774, allocations: 57.56 kB / 0.5285 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.007742, allocations: 0.75 kB / 0.5285 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.007771, allocations: 24.14 kB / 0.5285 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.007974, allocations: 35.19 kB / 0.5285 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.008244, allocations: 262.8 kB / 0.5288 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.008285, allocations: 79.33 kB / 0.5289 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.017e-05/0.008335, allocations: 32.84 kB / 0.5289 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.008503, allocations: 154 kB / 0.529 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.008503, allocations: 0 / 0.529 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of Templates: time 0.003859/0.01236, allocations: 2.726 MB / 0.5317 GB, free: 6.418 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.739384985063225]