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.002461/0.002461, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003181/0.003181, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 178] 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 1.335/1.335, allocations: 154.8 MB / 414.3 MB, free: 380 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 178] 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.803e-06/1.803e-06, allocations: 0 / 0.5198 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.428e-05/4.609e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00346/0.003506, allocations: 1.515 MB / 0.5213 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.005396, allocations: 1.229 MB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.005447, allocations: 4 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.005633, allocations: 16.42 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.005836, allocations: 43.72 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.006014, allocations: 58.41 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.00626, allocations: 151.5 kB / 0.5228 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.006401, allocations: 41.08 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.006554, allocations: 100.3 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.006732, allocations: 51.81 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/0.006782, allocations: 13.78 kB / 0.523 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.485e-05/0.006867, allocations: 24 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.902e-05/0.006966, allocations: 51.81 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.867e-05/0.007055, allocations: 47.88 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.007425, allocations: 221 kB / 0.5233 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007428, allocations: 3.938 kB / 0.5233 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.82e-07/0.007429, allocations: 0 / 0.5233 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.007435, allocations: 0 / 0.5233 GB, free: 14.74 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.000907/0.008342, allocations: 0.5125 MB / 0.5238 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.008386, allocations: 12.03 kB / 0.5238 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.707e-05/0.008483, allocations: 24.8 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.008844, allocations: 192.1 kB / 0.524 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.009096, allocations: 222.9 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.009124, allocations: 4.375 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.009521, allocations: 238.4 kB / 0.5245 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.009531, allocations: 4.172 kB / 0.5245 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.009555, allocations: 4.125 kB / 0.5245 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.009586, allocations: 13.34 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.976e-05/0.009665, allocations: 27.92 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.01069, allocations: 435.3 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.01079, allocations: 39.05 kB / 0.525 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.01084, allocations: 19.69 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.01087, allocations: 7.984 kB / 0.525 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.01091, allocations: 33.39 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.01091, allocations: 0 / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.000302/0.01121, allocations: 89.75 kB / 0.5251 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.01126, allocations: 55.41 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.01158, allocations: 296.1 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.01162, allocations: 30.14 kB / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.01175, allocations: 179.6 kB / 0.5256 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.01179, allocations: 35.73 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.354e-05/0.01186, allocations: 36.12 kB / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004203/0.01228, allocations: 0.5117 MB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.242e-05/0.01233, allocations: 21.45 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.01248, allocations: 128.2 kB / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.0127, allocations: 161.8 kB / 0.5265 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.0127, allocations: 0 / 0.5265 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002746/0.01297, allocations: 144.1 kB / 0.5266 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.01299, allocations: 11.94 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.013, allocations: 0 / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.01302, allocations: 4 kB / 0.5267 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01313, allocations: 23.98 kB / 0.5267 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.01314, allocations: 4 kB / 0.5267 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.0132, allocations: 11.89 kB / 0.5267 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.01322, allocations: 12.75 kB / 0.5267 GB, free: 10.89 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 0.0001763/0.01339, allocations: 181.5 kB / 0.5269 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.01346, allocations: 23.91 kB / 0.5269 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.01371, allocations: 99 kB / 0.527 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01371, allocations: 0.8438 kB / 0.527 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.01372, allocations: 4 kB / 0.527 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.01373, allocations: 5.531 kB / 0.527 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.01404, allocations: 184.5 kB / 0.5272 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.01404, allocations: 0 / 0.5272 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.0141, allocations: 15.98 kB / 0.5272 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.0141, allocations: 6.375 kB / 0.5272 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01411, allocations: 4 kB / 0.5272 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.01411, allocations: 4 kB / 0.5272 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01412, allocations: 0 / 0.5272 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.01442, allocations: 235.7 kB / 0.5274 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.01445, allocations: 11.91 kB / 0.5274 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.01447, allocations: 8 kB / 0.5275 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.01466, allocations: 14.7 kB / 0.5275 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.01469, allocations: 3.984 kB / 0.5275 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.01472, allocations: 11.98 kB / 0.5275 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002336/0.01496, allocations: 205.4 kB / 0.5277 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01496, allocations: 0 / 0.5277 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002935/0.01525, allocations: 31.94 kB / 0.5277 GB, free: 9.805 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.0002909/0.01554, allocations: 117.7 kB / 0.5278 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.01573, allocations: 75.11 kB / 0.5279 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01573, allocations: 0 / 0.5279 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.672e-05/0.01579, allocations: 27.69 kB / 0.5279 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.0161, allocations: 31.91 kB / 0.528 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.01666, allocations: 282.6 kB / 0.5282 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.01681, allocations: 121.7 kB / 0.5283 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.01693, allocations: 48.81 kB / 0.5284 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.01698, allocations: 16.5 kB / 0.5284 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01698, allocations: 0 / 0.5284 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of Templates: time 0.0072/0.02418, allocations: 2.461 MB / 0.5308 GB, free: 6.738 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: 6.086954590980895]