Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.0009372/0.0009372, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009617/0.0009617, allocations: 173 kB / 23.5 MB, free: 1.051 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.06/1.06, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7724/0.7724, allocations: 154.8 MB / 415.1 MB, free: 476 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 179] 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0.5469 kB / 0.5205 GB, free: 2.328 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.449e-05, allocations: 7.203 kB / 0.5205 GB, free: 2.324 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001631/0.001645, allocations: 1.418 MB / 0.5219 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001191/0.001764, allocations: 31.84 kB / 0.522 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.001803, allocations: 0 / 0.522 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.001965, allocations: 26.27 kB / 0.522 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.944e-05/0.002064, allocations: 12.81 kB / 0.522 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.996e-06/0.002067, allocations: 0.7656 kB / 0.522 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.684e-05/0.002134, allocations: 23.86 kB / 0.522 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.002168, allocations: 2.25 kB / 0.522 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.186e-05/0.00221, allocations: 7.984 kB / 0.522 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.002258, allocations: 11.98 kB / 0.522 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.002275, allocations: 0 / 0.522 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.88e-05/0.002314, allocations: 11.94 kB / 0.5221 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.002354, allocations: 15.92 kB / 0.5221 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.00237, allocations: 0.5625 kB / 0.5221 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.321e-05/0.002463, allocations: 23.92 kB / 0.5221 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002465, allocations: 0.5625 kB / 0.5221 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002465, allocations: 0.9375 kB / 0.5221 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.002468, allocations: 0 / 0.5221 GB, free: 0.7539 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.0002705/0.002739, allocations: 364.5 kB / 0.5224 GB, free: 368 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.002775, allocations: 8.562 kB / 0.5224 GB, free: 360 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.002808, allocations: 6.344 kB / 0.5225 GB, free: 356 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.002936, allocations: 129.3 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.002942, allocations: 384 / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.002951, allocations: 4.375 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.559e-05/0.003016, allocations: 31.14 kB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-06/0.003021, allocations: 192 / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.003029, allocations: 1.906 kB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.003054, allocations: 4.375 kB / 0.5226 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.149e-05/0.003065, allocations: 3.938 kB / 0.5226 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.003173, allocations: 116.7 kB / 0.5227 GB, free: 16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.249e-05/0.003206, allocations: 24.09 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.003225, allocations: 15.75 kB / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.003241, allocations: 4.625 kB / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.003256, allocations: 33.39 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.003257, allocations: 1.281 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001025/0.00336, allocations: 37.69 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.003385, allocations: 52.03 kB / 0.5229 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.00347, allocations: 185.7 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.003478, allocations: 26.67 kB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.003516, allocations: 134.9 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.003535, allocations: 0 / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.003558, allocations: 15.88 kB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.003661, allocations: 0.493 MB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-06/0.003669, allocations: 0 / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-06/0.003674, allocations: 6 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.818e-05/0.003692, allocations: 11.69 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.003693, allocations: 0 / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.617e-05/0.003729, allocations: 37.7 kB / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.003739, allocations: 5.188 kB / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.003746, allocations: 7.969 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.003756, allocations: 0 / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.964e-05/0.003795, allocations: 5.5 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.0038, allocations: 4 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-06/0.003809, allocations: 3.938 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.003814, allocations: 0 / 0.5238 GB, free: 14.81 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 5.923e-05/0.003873, allocations: 157 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-06/0.00388, allocations: 8.984 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.023e-05/0.00394, allocations: 41.16 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.003942, allocations: 0.9688 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.003945, allocations: 4 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.003949, allocations: 3.938 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.564e-05/0.004005, allocations: 113.2 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.004006, allocations: 0.5 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-06/0.004012, allocations: 0 / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.004013, allocations: 2.562 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.00402, allocations: 4 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.004021, allocations: 0 / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.004021, allocations: 0 / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.838e-05/0.004069, allocations: 80.34 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-06/0.004077, allocations: 3.953 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-06/0.004085, allocations: 2.438 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.689e-06/0.004089, allocations: 0 / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.004101, allocations: 4 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-07/0.004102, allocations: 3.938 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.034e-05/0.004142, allocations: 135.2 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004142, allocations: 0 / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001243/0.004266, allocations: 11.88 kB / 0.5244 GB, free: 14.18 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.0001379/0.004404, allocations: 108.4 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.505e-05/0.004469, allocations: 16.61 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.004471, allocations: 0 / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.915e-06/0.004479, allocations: 18.88 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.969e-05/0.004578, allocations: 9.828 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.004788, allocations: 106.3 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.051e-05/0.004818, allocations: 59.36 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.004837, allocations: 7.984 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.004854, allocations: 8.5 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.004854, allocations: 0 / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.001867/0.006721, allocations: 0.5214 MB / 0.5252 GB, free: 13.31 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7985182320699096]