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.001319/0.001319, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001429/0.001429, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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-531:190: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-531:198: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.184/1.184, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 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 2.234e-06/2.234e-06, allocations: 0 / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.224e-05, allocations: 8.672 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00445/0.004483, allocations: 1.491 MB / 0.62 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002832/0.007315, allocations: 1.211 MB / 0.6211 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.00742, allocations: 0 / 0.6211 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.007706, allocations: 23.78 kB / 0.6212 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.008033, allocations: 43.77 kB / 0.6212 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.008324, allocations: 66.28 kB / 0.6213 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.008634, allocations: 143.5 kB / 0.6214 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.008844, allocations: 49.22 kB / 0.6214 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.009064, allocations: 107.8 kB / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.009275, allocations: 43.83 kB / 0.6216 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.009338, allocations: 12 kB / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.009447, allocations: 27.94 kB / 0.6216 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.00957, allocations: 43.88 kB / 0.6217 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.00969, allocations: 55.83 kB / 0.6217 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.01013, allocations: 219.3 kB / 0.6219 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01014, allocations: 0 / 0.6219 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01014, allocations: 3.938 kB / 0.6219 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.01015, allocations: 0 / 0.6219 GB, free: 1.125 MB / 0.5294 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.001043/0.01119, allocations: 421.3 kB / 0.6223 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.01124, allocations: 13.47 kB / 0.6224 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.01134, allocations: 24.8 kB / 0.6224 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.01177, allocations: 198.1 kB / 0.6226 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.01203, allocations: 222.2 kB / 0.6228 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.01205, allocations: 4.375 kB / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.01264, allocations: 272.8 kB / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01265, allocations: 192 / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.01268, allocations: 12.12 kB / 0.6231 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.01272, allocations: 8 kB / 0.6231 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.01286, allocations: 39.97 kB / 0.6231 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.0143, allocations: 372.1 kB / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.01441, allocations: 34.56 kB / 0.6235 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.867e-05/0.01448, allocations: 28.86 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.01451, allocations: 3.984 kB / 0.6235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.01456, allocations: 34.56 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.01456, allocations: 0 / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004324/0.01499, allocations: 109.7 kB / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.01505, allocations: 51.41 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.01541, allocations: 220.8 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.01546, allocations: 25.7 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.0156, allocations: 128.2 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.01564, allocations: 23.75 kB / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.533e-05/0.01572, allocations: 29.7 kB / 0.6241 GB, free: 14.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.01592, allocations: 334.8 kB / 0.6244 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.01601, allocations: 31.91 kB / 0.6245 GB, free: 14.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.01618, allocations: 106.2 kB / 0.6246 GB, free: 14.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.01645, allocations: 138.2 kB / 0.6247 GB, free: 13.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01645, allocations: 0 / 0.6247 GB, free: 13.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004049/0.01686, allocations: 149.6 kB / 0.6248 GB, free: 13.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.01688, allocations: 12.03 kB / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.01689, allocations: 4 kB / 0.6249 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/0.01693, allocations: 4 kB / 0.6249 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.01708, allocations: 23.92 kB / 0.6249 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.01709, allocations: 4 kB / 0.6249 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.01719, allocations: 4 kB / 0.6249 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.01721, allocations: 12 kB / 0.6249 GB, free: 13.77 MB / 0.545 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.0002042/0.01742, allocations: 149.6 kB / 0.625 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.0175, allocations: 19.86 kB / 0.6251 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.01784, allocations: 111 kB / 0.6252 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.01784, allocations: 8 kB / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.01785, allocations: 0 / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.01786, allocations: 0 / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.0182, allocations: 157.2 kB / 0.6253 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.01821, allocations: 3.984 kB / 0.6253 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.324e-05/0.01829, allocations: 15.94 kB / 0.6253 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.0183, allocations: 0 / 0.6253 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.01832, allocations: 8 kB / 0.6254 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.01833, allocations: 3.938 kB / 0.6254 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01833, allocations: 0 / 0.6254 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.01871, allocations: 191.7 kB / 0.6255 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.01875, allocations: 27.88 kB / 0.6256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.01878, allocations: 3.938 kB / 0.6256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.01912, allocations: 19.98 kB / 0.6256 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.01915, allocations: 3.984 kB / 0.6256 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.0192, allocations: 11.98 kB / 0.6256 GB, free: 12.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002475/0.01945, allocations: 165.5 kB / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01945, allocations: 0 / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004771/0.01992, allocations: 31.95 kB / 0.6258 GB, free: 12.79 MB / 0.545 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.0003857/0.02031, allocations: 129 kB / 0.6259 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.02055, allocations: 67.84 kB / 0.626 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.02056, allocations: 0.75 kB / 0.626 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.209e-05/0.02062, allocations: 23.98 kB / 0.626 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.02107, allocations: 30.73 kB / 0.626 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007233/0.0218, allocations: 286 kB / 0.6263 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.02196, allocations: 122.2 kB / 0.6264 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000162/0.02212, allocations: 48.89 kB / 0.6265 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.02218, allocations: 20.48 kB / 0.6265 GB, free: 12.04 MB / 0.545 GB Notification: Performance of SimCode: time 6.42e-07/0.02218, allocations: 7.938 kB / 0.6265 GB, free: 12.03 MB / 0.545 GB Notification: Performance of Templates: time 0.008378/0.03056, allocations: 2.438 MB / 0.6289 GB, free: 9.641 MB / 0.545 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.814128279685974] Failed to read output from testmodel.py, exit status != 0: 0.04307204857468605 0.05874540600000001 0.04541349 Calling exit ...