Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001351/0.001351, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.001467/0.001467, allocations: 168.7 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.46/1.46, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.199/1.199, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.6185 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.461e-05, allocations: 8.312 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003822/0.003856, allocations: 1.496 MB / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.005959, allocations: 1.21 MB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.623e-05/0.006055, allocations: 0 / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.006291, allocations: 23.78 kB / 0.6212 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.006571, allocations: 36.38 kB / 0.6213 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.006801, allocations: 68.91 kB / 0.6213 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.007058, allocations: 149.5 kB / 0.6215 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.007241, allocations: 37.28 kB / 0.6215 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.007434, allocations: 103.8 kB / 0.6216 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.00761, allocations: 39.84 kB / 0.6216 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/0.007673, allocations: 12 kB / 0.6216 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.018e-05/0.007763, allocations: 31.92 kB / 0.6217 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.007865, allocations: 52.69 kB / 0.6217 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.007968, allocations: 47.89 kB / 0.6218 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.008349, allocations: 223.3 kB / 0.622 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.008352, allocations: 0 / 0.622 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.008353, allocations: 0 / 0.622 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.00836, allocations: 0 / 0.622 GB, free: 1.059 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.0008651/0.009226, allocations: 421.3 kB / 0.6224 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.009274, allocations: 8.031 kB / 0.6224 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.009376, allocations: 20.8 kB / 0.6224 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.00975, allocations: 209.9 kB / 0.6226 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.009979, allocations: 226.2 kB / 0.6228 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.009997, allocations: 8.375 kB / 0.6228 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.01048, allocations: 256.9 kB / 0.6231 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.01049, allocations: 192 / 0.6231 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.01052, allocations: 16.06 kB / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.01055, allocations: 4 kB / 0.6231 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.01064, allocations: 39.97 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.01183, allocations: 384.1 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.186e-05/0.01192, allocations: 34.56 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.347e-05/0.01196, allocations: 20.86 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.012, allocations: 7.984 kB / 0.6236 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.01205, allocations: 30.56 kB / 0.6236 GB, free: 15.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.01205, allocations: 0 / 0.6236 GB, free: 15.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003398/0.01239, allocations: 109.5 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.01244, allocations: 55.34 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.01273, allocations: 224.8 kB / 0.624 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.01278, allocations: 25.7 kB / 0.624 GB, free: 14.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.01288, allocations: 128.3 kB / 0.6241 GB, free: 14.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.01291, allocations: 31.73 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.01298, allocations: 25.72 kB / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.01318, allocations: 330.8 kB / 0.6245 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.01324, allocations: 27.97 kB / 0.6245 GB, free: 14.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.01337, allocations: 98.28 kB / 0.6246 GB, free: 14.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.01358, allocations: 146.1 kB / 0.6247 GB, free: 13.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01358, allocations: 0 / 0.6247 GB, free: 13.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002812/0.01386, allocations: 153.3 kB / 0.6249 GB, free: 13.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.01388, allocations: 8 kB / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01389, allocations: 0 / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.01391, allocations: 4 kB / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.01402, allocations: 27.92 kB / 0.6249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.01403, allocations: 4 kB / 0.6249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.01409, allocations: 4.375 kB / 0.6249 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.01411, allocations: 16 kB / 0.625 GB, free: 13.7 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.0001726/0.01428, allocations: 150.5 kB / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.01435, allocations: 19.86 kB / 0.6251 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.01458, allocations: 111 kB / 0.6252 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01459, allocations: 0 / 0.6252 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01459, allocations: 0 / 0.6252 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01459, allocations: 4 kB / 0.6252 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.01482, allocations: 161.2 kB / 0.6254 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01483, allocations: 3.938 kB / 0.6254 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.01488, allocations: 15.94 kB / 0.6254 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.01488, allocations: 7.984 kB / 0.6254 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.01489, allocations: 4 kB / 0.6254 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.0149, allocations: 0 / 0.6254 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.0149, allocations: 7.938 kB / 0.6254 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.01516, allocations: 191.7 kB / 0.6256 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.01519, allocations: 15.89 kB / 0.6256 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.01521, allocations: 4 kB / 0.6256 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.01546, allocations: 19.98 kB / 0.6256 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.01549, allocations: 7.984 kB / 0.6256 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.01552, allocations: 15.98 kB / 0.6257 GB, free: 12.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001676/0.01569, allocations: 161.5 kB / 0.6258 GB, free: 12.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01569, allocations: 0 / 0.6258 GB, free: 12.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003316/0.01602, allocations: 31.95 kB / 0.6258 GB, free: 12.72 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.0002838/0.0163, allocations: 121 kB / 0.626 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.0165, allocations: 71.84 kB / 0.626 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.0165, allocations: 0 / 0.626 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.01655, allocations: 27.92 kB / 0.6261 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.01688, allocations: 27.86 kB / 0.6261 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.0175, allocations: 290 kB / 0.6264 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.01764, allocations: 123 kB / 0.6265 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.01778, allocations: 48.89 kB / 0.6265 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.01784, allocations: 20.48 kB / 0.6265 GB, free: 11.96 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/0.01784, allocations: 0 / 0.6265 GB, free: 11.96 MB / 0.545 GB Notification: Performance of Templates: time 0.006934/0.02477, allocations: 2.45 MB / 0.6289 GB, free: 9.574 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.901612855494022] Failed to read output from testmodel.py, exit status != 0: 0.03415673226118088 0.049763969000000005 0.038257097000000004 Calling exit ...