Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.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.001834/0.001834, 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.002105/0.002105, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.531/1.531, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.323/1.323, allocations: 154.8 MB / 414.4 MB, free: 472 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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.901e-05, allocations: 3.859 kB / 0.5198 GB, free: 2.336 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002774/0.002803, allocations: 1.371 MB / 0.5212 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001814/0.002985, allocations: 43.81 kB / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.003027, allocations: 0.5625 kB / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.0032, allocations: 8.781 kB / 0.5212 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.003312, allocations: 13.67 kB / 0.5213 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.128e-06/0.003316, allocations: 0 / 0.5213 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.874e-05/0.003385, allocations: 21.52 kB / 0.5213 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.003423, allocations: 0 / 0.5213 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.591e-05/0.003489, allocations: 11.97 kB / 0.5213 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.003553, allocations: 11.98 kB / 0.5213 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.003572, allocations: 0.9375 kB / 0.5213 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.509e-05/0.003617, allocations: 8 kB / 0.5213 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.003652, allocations: 5.344 kB / 0.5213 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.003672, allocations: 8 kB / 0.5213 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.003788, allocations: 27.84 kB / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.003791, allocations: 0 / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003791, allocations: 1.156 kB / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.003795, allocations: 0 / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004411/0.004236, allocations: 360.2 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.004274, allocations: 8.719 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.004318, allocations: 4.938 kB / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.004507, allocations: 121.8 kB / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.004518, allocations: 384 / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.004524, allocations: 384 / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.577e-05/0.00461, allocations: 31.33 kB / 0.5218 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.004618, allocations: 192 / 0.5218 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.004625, allocations: 384 / 0.5218 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.004647, allocations: 0.9062 kB / 0.5218 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.642e-05/0.004684, allocations: 17.92 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.004855, allocations: 108.7 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.754e-05/0.004923, allocations: 31 kB / 0.522 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.004949, allocations: 11.75 kB / 0.522 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.004968, allocations: 0 / 0.522 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.005027, allocations: 38.81 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.005027, allocations: 0 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.00517, allocations: 37.64 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.005219, allocations: 56.81 kB / 0.5221 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.005375, allocations: 177.9 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.005396, allocations: 25.7 kB / 0.5223 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.005479, allocations: 130.9 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.005503, allocations: 8.922 kB / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.005542, allocations: 19.36 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002875/0.005829, allocations: 496.1 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.005843, allocations: 0.9688 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.005849, allocations: 0 / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.033e-05/0.005879, allocations: 17.19 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.00588, allocations: 0 / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.233e-05/0.005943, allocations: 33.7 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.00596, allocations: 12.42 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.005965, allocations: 1.031 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.00598, allocations: 0 / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.109e-05/0.006031, allocations: 4 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.006036, allocations: 1.125 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.518e-05/0.006051, allocations: 3.938 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.006056, allocations: 0 / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.0001161/0.006172, allocations: 157.2 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.006188, allocations: 9.531 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.988e-05/0.006288, allocations: 45.16 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.00629, allocations: 0 / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.006293, allocations: 0 / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.006299, allocations: 5.75 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.006419, allocations: 116.6 kB / 0.5233 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.006422, allocations: 4 kB / 0.5233 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.006437, allocations: 4 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.006439, allocations: 0 / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.006446, allocations: 1.031 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.006447, allocations: 4.25 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006448, allocations: 0.9375 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.006562, allocations: 72.38 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.006577, allocations: 11.2 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.006588, allocations: 0 / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-06/0.006597, allocations: 3.938 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.006619, allocations: 0 / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.006621, allocations: 0 / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001092/0.006731, allocations: 147.1 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006731, allocations: 0 / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001869/0.006918, allocations: 7.938 kB / 0.5236 GB, free: 14.27 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 (1): * Single equations (assignments): 1 * 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.0002616/0.007179, allocations: 109.7 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.133e-05/0.00727, allocations: 23.61 kB / 0.5237 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.007272, allocations: 0 / 0.5237 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.00729, allocations: 9.25 kB / 0.5237 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.007446, allocations: 8.438 kB / 0.5237 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.007746, allocations: 114.3 kB / 0.5238 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.546e-05/0.007812, allocations: 64.62 kB / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.007836, allocations: 0 / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.007863, allocations: 12.5 kB / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.007863, allocations: 0.5312 kB / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.003693/0.01156, allocations: 0.504 MB / 0.5244 GB, free: 13.41 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.114066140959039]