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.0009265/0.0009265, 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.0008757/0.0008757, allocations: 173 kB / 23.5 MB, free: 1.055 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.143/1.143, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.7763/0.7763, allocations: 154.8 MB / 415.1 MB, free: 496 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.553e-06/1.553e-06, allocations: 3.938 kB / 0.5205 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.064e-05, allocations: 6.312 kB / 0.5206 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002121/0.002141, allocations: 1.529 MB / 0.522 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003306, allocations: 1.248 MB / 0.5233 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.003361, allocations: 5.562 kB / 0.5233 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.003546, allocations: 19.84 kB / 0.5233 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.003729, allocations: 39.72 kB / 0.5233 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.003858, allocations: 56.94 kB / 0.5234 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.004041, allocations: 152.4 kB / 0.5235 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.004191, allocations: 37.2 kB / 0.5236 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.004298, allocations: 109 kB / 0.5237 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.004413, allocations: 47.88 kB / 0.5237 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.004442, allocations: 11.94 kB / 0.5237 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.068e-05/0.004503, allocations: 24 kB / 0.5237 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.004576, allocations: 48.66 kB / 0.5238 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.004633, allocations: 51.83 kB / 0.5238 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.004859, allocations: 176 kB / 0.524 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.004862, allocations: 0.875 kB / 0.524 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004863, allocations: 0 / 0.524 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004867, allocations: 4.531 kB / 0.524 GB, free: 14.79 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.0005264/0.005393, allocations: 0.5119 MB / 0.5245 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.005432, allocations: 16.81 kB / 0.5245 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.005498, allocations: 20.84 kB / 0.5246 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.005724, allocations: 208.7 kB / 0.5248 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.005848, allocations: 217.2 kB / 0.525 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.005875, allocations: 16.36 kB / 0.525 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.006083, allocations: 185 kB / 0.5252 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.00609, allocations: 192 / 0.5252 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.006112, allocations: 16.11 kB / 0.5252 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.00614, allocations: 4 kB / 0.5252 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.049e-05/0.00618, allocations: 19.92 kB / 0.5252 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.006732, allocations: 421.5 kB / 0.5256 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.006784, allocations: 39.92 kB / 0.5256 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.006811, allocations: 19.67 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.006832, allocations: 0 / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.00686, allocations: 42.98 kB / 0.5257 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.006861, allocations: 0 / 0.5257 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001971/0.007058, allocations: 85.67 kB / 0.5258 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.007094, allocations: 55.34 kB / 0.5258 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.007263, allocations: 264.5 kB / 0.5261 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.007282, allocations: 25.7 kB / 0.5261 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.007355, allocations: 169 kB / 0.5263 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.007376, allocations: 31.88 kB / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.007414, allocations: 39.38 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.007537, allocations: 0.5078 MB / 0.5268 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.007561, allocations: 7.938 kB / 0.5268 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.441e-05/0.007635, allocations: 116.2 kB / 0.5269 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.007751, allocations: 157.2 kB / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.007754, allocations: 0 / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001458/0.0079, allocations: 120.1 kB / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.007914, allocations: 8 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.007921, allocations: 4 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.007934, allocations: 6.281 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.008012, allocations: 31.92 kB / 0.5273 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.00802, allocations: 4 kB / 0.5273 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.008056, allocations: 11.89 kB / 0.5273 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.008068, allocations: 8 kB / 0.5273 GB, free: 11.08 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.292e-05/0.008151, allocations: 173.2 kB / 0.5274 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.008183, allocations: 15.91 kB / 0.5275 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.008318, allocations: 103.9 kB / 0.5276 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.00832, allocations: 0 / 0.5276 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.008323, allocations: 0 / 0.5276 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008326, allocations: 0.5 kB / 0.5276 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.008464, allocations: 177.1 kB / 0.5277 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.008465, allocations: 0 / 0.5277 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.008494, allocations: 27.36 kB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.008496, allocations: 0 / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.008502, allocations: 0 / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.008504, allocations: 4 kB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008505, allocations: 0 / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.008635, allocations: 223.8 kB / 0.528 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.008649, allocations: 11.91 kB / 0.528 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.008661, allocations: 4 kB / 0.528 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.00876, allocations: 19.92 kB / 0.528 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.008776, allocations: 6.922 kB / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.008793, allocations: 15.97 kB / 0.528 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.619e-05/0.008879, allocations: 181.4 kB / 0.5282 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008879, allocations: 0 / 0.5282 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001991/0.009078, allocations: 31.94 kB / 0.5282 GB, free: 10.05 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.0001752/0.009254, allocations: 125.8 kB / 0.5284 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.009364, allocations: 53.75 kB / 0.5284 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009365, allocations: 0 / 0.5284 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.613e-05/0.009391, allocations: 36.53 kB / 0.5284 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.009614, allocations: 31.41 kB / 0.5285 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.009975, allocations: 268.2 kB / 0.5287 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.729e-05/0.01002, allocations: 75.31 kB / 0.5288 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.855e-05/0.0101, allocations: 48.81 kB / 0.5288 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.01013, allocations: 17.62 kB / 0.5289 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01013, allocations: 4 kB / 0.5289 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of Templates: time 0.004471/0.0146, allocations: 2.454 MB / 0.5313 GB, free: 7.043 MB / 0.4948 GB " [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.9236591879744083]