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.0009486/0.0009486, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009291/0.0009291, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9792/0.9792, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7698/0.7698, allocations: 154.6 MB / 415.6 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.332e-06/1.332e-06, allocations: 0 / 0.5215 GB, free: 1.984 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.444e-05, allocations: 6.25 kB / 0.5215 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002812/0.002837, allocations: 1.526 MB / 0.523 GB, free: 472 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.004211, allocations: 1.246 MB / 0.5242 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.853e-05/0.004279, allocations: 3.938 kB / 0.5242 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.004463, allocations: 19.86 kB / 0.5242 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.004656, allocations: 44.28 kB / 0.5243 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.00481, allocations: 53.31 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.004986, allocations: 152.3 kB / 0.5245 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.005115, allocations: 40.81 kB / 0.5245 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.005241, allocations: 108.3 kB / 0.5246 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.005364, allocations: 47.88 kB / 0.5247 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.005396, allocations: 13 kB / 0.5247 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.005458, allocations: 20 kB / 0.5247 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.005523, allocations: 52.64 kB / 0.5247 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.005582, allocations: 55.8 kB / 0.5248 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.005804, allocations: 177.2 kB / 0.525 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.005808, allocations: 0 / 0.525 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005809, allocations: 0 / 0.525 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.005813, allocations: 0 / 0.525 GB, free: 14.45 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.0008147/0.006628, allocations: 0.5169 MB / 0.5255 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.006661, allocations: 8.031 kB / 0.5255 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.006725, allocations: 24.83 kB / 0.5255 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.006951, allocations: 208.7 kB / 0.5257 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.007098, allocations: 222.9 kB / 0.5259 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.007123, allocations: 4.375 kB / 0.5259 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.007326, allocations: 190.2 kB / 0.5261 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.007334, allocations: 192 / 0.5261 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.007351, allocations: 4.125 kB / 0.5261 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.007379, allocations: 17.23 kB / 0.5261 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.419e-05/0.007413, allocations: 19.92 kB / 0.5261 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.007986, allocations: 378.2 kB / 0.5265 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/0.008041, allocations: 34.98 kB / 0.5265 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.008064, allocations: 15.69 kB / 0.5265 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.008086, allocations: 9.797 kB / 0.5266 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.008109, allocations: 41.39 kB / 0.5266 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.00811, allocations: 0 / 0.5266 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001841/0.008294, allocations: 77.69 kB / 0.5267 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.008322, allocations: 59.34 kB / 0.5267 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.008487, allocations: 255.3 kB / 0.527 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.008509, allocations: 30.61 kB / 0.527 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/0.008585, allocations: 170.8 kB / 0.5272 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.00861, allocations: 31.88 kB / 0.5272 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.008656, allocations: 40.36 kB / 0.5272 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.008784, allocations: 0.4962 MB / 0.5277 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.008806, allocations: 11.98 kB / 0.5277 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.008881, allocations: 124.1 kB / 0.5278 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.009005, allocations: 153 kB / 0.528 GB, free: 11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.009008, allocations: 0 / 0.528 GB, free: 11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001833/0.009191, allocations: 120.4 kB / 0.5281 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.009205, allocations: 4 kB / 0.5281 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.009213, allocations: 7.984 kB / 0.5281 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.009225, allocations: 4 kB / 0.5281 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.009304, allocations: 25.44 kB / 0.5281 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.009309, allocations: 7.984 kB / 0.5282 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.499e-05/0.009364, allocations: 11.89 kB / 0.5282 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.009375, allocations: 8 kB / 0.5282 GB, free: 10.81 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 8.841e-05/0.009463, allocations: 169 kB / 0.5283 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.009509, allocations: 18.97 kB / 0.5283 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.009657, allocations: 95.06 kB / 0.5284 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.009659, allocations: 0 / 0.5284 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.009661, allocations: 0 / 0.5284 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.009663, allocations: 0 / 0.5284 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.009825, allocations: 141.1 kB / 0.5286 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.009827, allocations: 0 / 0.5286 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.009867, allocations: 23.86 kB / 0.5286 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.009869, allocations: 2.438 kB / 0.5286 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.009875, allocations: 4 kB / 0.5286 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.009879, allocations: 4 kB / 0.5286 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.00988, allocations: 0 / 0.5286 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.01004, allocations: 215.8 kB / 0.5288 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.01006, allocations: 15.84 kB / 0.5288 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.01007, allocations: 4 kB / 0.5288 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.0102, allocations: 13.3 kB / 0.5288 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.01021, allocations: 7.984 kB / 0.5289 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.01024, allocations: 9.734 kB / 0.5289 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.907e-05/0.01032, allocations: 189.9 kB / 0.529 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01032, allocations: 0 / 0.529 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002801/0.0106, allocations: 27.94 kB / 0.5291 GB, free: 9.84 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.0001915/0.0108, allocations: 137.9 kB / 0.5292 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.01091, allocations: 53.58 kB / 0.5293 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01092, allocations: 0 / 0.5293 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.01094, allocations: 29.06 kB / 0.5293 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.01123, allocations: 34.31 kB / 0.5293 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.01159, allocations: 259.9 kB / 0.5296 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.489e-05/0.01165, allocations: 83.31 kB / 0.5296 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.532e-05/0.01172, allocations: 32.89 kB / 0.5297 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.01196, allocations: 146.8 kB / 0.5298 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of SimCode: time 1.462e-06/0.01196, allocations: 0 / 0.5298 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of Templates: time 0.005481/0.01744, allocations: 2.75 MB / 0.5325 GB, free: 6.426 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.902489895001054]