Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001237/0.001237, allocations: 73.88 kB / 20.65 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.001198/0.001198, allocations: 169 kB / 24.06 MB, free: 452 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 1.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7959/0.7959, allocations: 154.9 MB / 415.9 MB, free: 276 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5218 GB, free: 496 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.622e-05, allocations: 4 kB / 0.5218 GB, free: 492 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00223/0.002256, allocations: 1.532 MB / 0.5233 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.003386, allocations: 1.256 MB / 0.5246 GB, free: 13.7 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.003437, allocations: 2.344 kB / 0.5246 GB, free: 13.7 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.003613, allocations: 15.88 kB / 0.5246 GB, free: 13.69 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.003781, allocations: 43.7 kB / 0.5246 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.003904, allocations: 53.52 kB / 0.5247 GB, free: 13.59 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.004058, allocations: 159.5 kB / 0.5248 GB, free: 13.44 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.004179, allocations: 29.28 kB / 0.5249 GB, free: 13.41 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.949e-05/0.004278, allocations: 103.8 kB / 0.525 GB, free: 13.31 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.004383, allocations: 47.89 kB / 0.525 GB, free: 13.26 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.004408, allocations: 8.562 kB / 0.525 GB, free: 13.25 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.004477, allocations: 28.86 kB / 0.525 GB, free: 13.23 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.004549, allocations: 51.83 kB / 0.5251 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.004613, allocations: 51.83 kB / 0.5251 GB, free: 13.12 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.004816, allocations: 180.5 kB / 0.5253 GB, free: 12.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.004818, allocations: 0 / 0.5253 GB, free: 12.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.00482, allocations: 4.703 kB / 0.5253 GB, free: 12.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.004825, allocations: 4 kB / 0.5253 GB, free: 12.94 MB / 458.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.0004928/0.005318, allocations: 0.5084 MB / 0.5258 GB, free: 12.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.00535, allocations: 12.03 kB / 0.5258 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.005406, allocations: 22.36 kB / 0.5259 GB, free: 12.37 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.005609, allocations: 205 kB / 0.526 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.005724, allocations: 222.2 kB / 0.5263 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.005745, allocations: 12.31 kB / 0.5263 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.005909, allocations: 184 kB / 0.5264 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.005916, allocations: 192 / 0.5264 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.005932, allocations: 8.812 kB / 0.5265 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.005958, allocations: 11.98 kB / 0.5265 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.00599, allocations: 17.27 kB / 0.5265 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.006464, allocations: 377.2 kB / 0.5268 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.245e-05/0.006506, allocations: 31.05 kB / 0.5269 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.006528, allocations: 20.47 kB / 0.5269 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.006546, allocations: 0 / 0.5269 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.006568, allocations: 46.16 kB / 0.5269 GB, free: 11.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 7.22e-07/0.006569, allocations: 0 / 0.5269 GB, free: 11.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001584/0.006727, allocations: 80.2 kB / 0.527 GB, free: 11.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.006751, allocations: 51.41 kB / 0.5271 GB, free: 10.96 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.006892, allocations: 263.6 kB / 0.5273 GB, free: 10.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.006911, allocations: 33.7 kB / 0.5273 GB, free: 10.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.006978, allocations: 166.8 kB / 0.5275 GB, free: 10.47 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.007001, allocations: 35.73 kB / 0.5275 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.007039, allocations: 43.34 kB / 0.5276 GB, free: 10.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.007162, allocations: 0.5007 MB / 0.5281 GB, free: 9.875 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.007179, allocations: 5.125 kB / 0.5281 GB, free: 9.871 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.007248, allocations: 124.1 kB / 0.5282 GB, free: 9.699 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.946e-05/0.007347, allocations: 148 kB / 0.5283 GB, free: 9.508 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.00735, allocations: 0 / 0.5283 GB, free: 9.508 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001282/0.007478, allocations: 121 kB / 0.5284 GB, free: 9.387 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.007491, allocations: 8 kB / 0.5285 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.007496, allocations: 0 / 0.5285 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.007507, allocations: 8 kB / 0.5285 GB, free: 9.371 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.00757, allocations: 30.42 kB / 0.5285 GB, free: 9.344 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.007576, allocations: 7.938 kB / 0.5285 GB, free: 9.336 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.007612, allocations: 11.89 kB / 0.5285 GB, free: 9.324 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.00762, allocations: 4 kB / 0.5285 GB, free: 9.32 MB / 458.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 7.77e-05/0.007698, allocations: 172.5 kB / 0.5287 GB, free: 9.141 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.007735, allocations: 19.91 kB / 0.5287 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.007857, allocations: 96.19 kB / 0.5288 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.007859, allocations: 0 / 0.5288 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.00786, allocations: 0 / 0.5288 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.007863, allocations: 4.875 kB / 0.5288 GB, free: 9.012 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.007987, allocations: 133.1 kB / 0.5289 GB, free: 8.855 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007989, allocations: 1.156 kB / 0.5289 GB, free: 8.855 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.008021, allocations: 19.92 kB / 0.5289 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.008023, allocations: 0 / 0.5289 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.008028, allocations: 8.562 kB / 0.5289 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008029, allocations: 0 / 0.5289 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.00803, allocations: 2.812 kB / 0.529 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.008164, allocations: 223.8 kB / 0.5292 GB, free: 8.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.008181, allocations: 23.83 kB / 0.5292 GB, free: 8.566 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.008193, allocations: 4 kB / 0.5292 GB, free: 8.562 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.008285, allocations: 11.98 kB / 0.5292 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.008297, allocations: 4 kB / 0.5292 GB, free: 8.547 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.008313, allocations: 11.97 kB / 0.5292 GB, free: 8.535 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.537e-05/0.008388, allocations: 188.4 kB / 0.5294 GB, free: 8.355 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008388, allocations: 3.938 kB / 0.5294 GB, free: 8.352 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.00858, allocations: 31.89 kB / 0.5294 GB, free: 8.32 MB / 458.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.000184/0.008764, allocations: 121.7 kB / 0.5295 GB, free: 8.203 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.369e-05/0.008858, allocations: 52.81 kB / 0.5296 GB, free: 8.148 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.00886, allocations: 0.5 kB / 0.5296 GB, free: 8.148 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.008881, allocations: 28.42 kB / 0.5296 GB, free: 8.117 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.009101, allocations: 29.48 kB / 0.5297 GB, free: 8.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.009466, allocations: 263.4 kB / 0.5299 GB, free: 7.797 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.222e-05/0.009518, allocations: 87.17 kB / 0.53 GB, free: 7.691 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.247e-05/0.009581, allocations: 33.81 kB / 0.53 GB, free: 7.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.00977, allocations: 150.1 kB / 0.5302 GB, free: 7.512 MB / 458.7 MB Notification: Performance of SimCode: time 7.91e-07/0.009771, allocations: 0.5938 kB / 0.5302 GB, free: 7.512 MB / 458.7 MB Notification: Performance of Templates: time 0.004348/0.01412, allocations: 2.754 MB / 0.5329 GB, free: 4.914 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7861469932831824]