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.001965/0.001965, allocations: 92.7 kB / 19.44 MB, free: 324 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.00248/0.00248, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.532/1.532, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.255/1.255, allocations: 154.8 MB / 414.3 MB, free: 464 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.774e-06/1.774e-06, allocations: 0 / 0.5198 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.175e-05, allocations: 3.562 kB / 0.5198 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.004452/0.004484, allocations: 1.487 MB / 0.5213 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.007471, allocations: 1.224 MB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.007548, allocations: 0 / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.007851, allocations: 31.72 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.008165, allocations: 39.77 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.008482, allocations: 56.8 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.00883, allocations: 152 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.009043, allocations: 38.16 kB / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.00927, allocations: 99.8 kB / 0.5229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.009505, allocations: 52.84 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.009562, allocations: 8 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.009668, allocations: 23.94 kB / 0.523 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.009799, allocations: 56.44 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.009922, allocations: 51.83 kB / 0.5231 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.01039, allocations: 208.6 kB / 0.5233 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.01039, allocations: 0 / 0.5233 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.814e-06/0.01039, allocations: 3.938 kB / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.0104, allocations: 4.656 kB / 0.5233 GB, free: 14.8 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.001018/0.01142, allocations: 426.9 kB / 0.5237 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.01146, allocations: 8.031 kB / 0.5237 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.0116, allocations: 24.8 kB / 0.5237 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.0121, allocations: 207.9 kB / 0.5239 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/0.01245, allocations: 223.6 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/0.0125, allocations: 8.375 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/0.01317, allocations: 260.9 kB / 0.5244 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.01318, allocations: 4.922 kB / 0.5244 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.01322, allocations: 4.125 kB / 0.5244 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.01326, allocations: 13.02 kB / 0.5244 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.01341, allocations: 43.97 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.01522, allocations: 379.7 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.01534, allocations: 30.58 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.211e-05/0.01541, allocations: 20.84 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.01544, allocations: 4 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.0155, allocations: 36.16 kB / 0.5249 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.0155, allocations: 4 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0004662/0.01597, allocations: 117.9 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.01602, allocations: 51.41 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.01642, allocations: 213 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.01648, allocations: 29.7 kB / 0.5253 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.01663, allocations: 129.2 kB / 0.5254 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.01667, allocations: 23.75 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.01676, allocations: 30.83 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002645/0.01702, allocations: 330.8 kB / 0.5258 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.891e-05/0.01711, allocations: 27.97 kB / 0.5258 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.01731, allocations: 106.5 kB / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.01763, allocations: 137.9 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.01763, allocations: 4.625 kB / 0.526 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004662/0.0181, allocations: 158 kB / 0.5262 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.01813, allocations: 11.98 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.01814, allocations: 7.938 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.01817, allocations: 4 kB / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.01833, allocations: 16 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.01834, allocations: 7.984 kB / 0.5262 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.01846, allocations: 11.95 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.01849, allocations: 10.97 kB / 0.5263 GB, free: 11.45 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.000224/0.01871, allocations: 149.6 kB / 0.5264 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.01882, allocations: 19.91 kB / 0.5264 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.01919, allocations: 119 kB / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.0192, allocations: 0 / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.0192, allocations: 0 / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.01921, allocations: 3.984 kB / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.01957, allocations: 153.2 kB / 0.5267 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01957, allocations: 1.5 kB / 0.5267 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.01965, allocations: 15.98 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.01966, allocations: 4 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01967, allocations: 3.25 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.01968, allocations: 4 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01968, allocations: 0 / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.01999, allocations: 199.3 kB / 0.5269 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.02002, allocations: 15.84 kB / 0.5269 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.02004, allocations: 4 kB / 0.5269 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.0203, allocations: 15.97 kB / 0.5269 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.02032, allocations: 11.98 kB / 0.5269 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.02035, allocations: 14.42 kB / 0.527 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000181/0.02053, allocations: 161.5 kB / 0.5271 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02053, allocations: 0 / 0.5271 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003362/0.02087, allocations: 24 kB / 0.5271 GB, free: 10.5 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.0003408/0.02121, allocations: 130.6 kB / 0.5273 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.02139, allocations: 74.83 kB / 0.5273 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.0214, allocations: 4 kB / 0.5273 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.02144, allocations: 19.98 kB / 0.5273 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.02181, allocations: 35.91 kB / 0.5274 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.02242, allocations: 299.4 kB / 0.5277 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.02256, allocations: 126.2 kB / 0.5278 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.0227, allocations: 46.67 kB / 0.5278 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.02276, allocations: 24.48 kB / 0.5279 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of SimCode: time 4.5e-07/0.02276, allocations: 0 / 0.5279 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of Templates: time 0.006319/0.02907, allocations: 2.464 MB / 0.5303 GB, free: 7.398 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.992579812998883]