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.001071/0.001071, allocations: 93.06 kB / 19.65 MB, free: 280 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.001678/0.001678, allocations: 169 kB / 23.02 MB, free: 1.555 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 0.9196/0.9196, allocations: 177.1 MB / 203.4 MB, free: 5.672 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.8563/0.8563, allocations: 154.8 MB / 414.7 MB, free: 0.5195 MB / 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 9.52e-07/9.52e-07, allocations: 0 / 0.5205 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.1e-05, allocations: 5.234 kB / 0.5205 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002258/0.002279, allocations: 1.421 MB / 0.5219 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001369/0.002416, allocations: 43.81 kB / 0.5219 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.002452, allocations: 0 / 0.5219 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.002602, allocations: 11.88 kB / 0.522 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.002712, allocations: 21.44 kB / 0.522 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.266e-06/0.002716, allocations: 0.5625 kB / 0.522 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.124e-05/0.002787, allocations: 17.34 kB / 0.522 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.00282, allocations: 4 kB / 0.522 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.002867, allocations: 11.98 kB / 0.522 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/0.002913, allocations: 4 kB / 0.522 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.002929, allocations: 2.688 kB / 0.522 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.262e-05/0.002972, allocations: 15.98 kB / 0.522 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.003006, allocations: 3.938 kB / 0.522 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.003023, allocations: 7.984 kB / 0.522 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 8.724e-05/0.003111, allocations: 23.86 kB / 0.5221 GB, free: 15.36 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003112, allocations: 0 / 0.5221 GB, free: 15.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003113, allocations: 4 kB / 0.5221 GB, free: 15.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.003118, allocations: 0.5 kB / 0.5221 GB, free: 15.36 MB / 458.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.0003432/0.003461, allocations: 360.5 kB / 0.5224 GB, free: 14.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.003494, allocations: 9.062 kB / 0.5224 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.003523, allocations: 4.938 kB / 0.5224 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.003661, allocations: 142.4 kB / 0.5226 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.003669, allocations: 384 / 0.5226 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.00368, allocations: 384 / 0.5226 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.897e-05/0.003749, allocations: 30.89 kB / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.003759, allocations: 192 / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.003768, allocations: 5.984 kB / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.003794, allocations: 384 / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.325e-05/0.003807, allocations: 7.938 kB / 0.5226 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.003923, allocations: 112.7 kB / 0.5227 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.163e-05/0.003955, allocations: 28.06 kB / 0.5227 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.887e-05/0.003973, allocations: 11.67 kB / 0.5228 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.003992, allocations: 4.062 kB / 0.5228 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.004013, allocations: 34.23 kB / 0.5228 GB, free: 14.49 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.004013, allocations: 0 / 0.5228 GB, free: 14.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001089/0.004122, allocations: 42.89 kB / 0.5228 GB, free: 14.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.004151, allocations: 55.34 kB / 0.5229 GB, free: 14.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.846e-05/0.00425, allocations: 174.6 kB / 0.5231 GB, free: 14.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.004259, allocations: 25.7 kB / 0.5231 GB, free: 14.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.004302, allocations: 135.4 kB / 0.5232 GB, free: 14.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.004321, allocations: 3.953 kB / 0.5232 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.004344, allocations: 20.28 kB / 0.5232 GB, free: 13.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.004472, allocations: 492.1 kB / 0.5237 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.004481, allocations: 8.562 kB / 0.5237 GB, free: 13.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.004488, allocations: 0.5312 kB / 0.5237 GB, free: 13.49 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.023e-05/0.004508, allocations: 12.5 kB / 0.5237 GB, free: 13.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.00451, allocations: 0 / 0.5237 GB, free: 13.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.2e-05/0.004552, allocations: 40.72 kB / 0.5238 GB, free: 13.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.004563, allocations: 8 kB / 0.5238 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.004568, allocations: 4 kB / 0.5238 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.004582, allocations: 0 / 0.5238 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.004623, allocations: 0 / 0.5238 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.004627, allocations: 0 / 0.5238 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.055e-05/0.004638, allocations: 3.938 kB / 0.5238 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.004642, allocations: 4 kB / 0.5238 GB, free: 13.41 MB / 458.7 MB 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.945e-05/0.004701, allocations: 153.6 kB / 0.5239 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.004709, allocations: 7.953 kB / 0.5239 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.585e-05/0.004775, allocations: 45.7 kB / 0.524 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.004776, allocations: 0.9375 kB / 0.524 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.004779, allocations: 0 / 0.524 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.004783, allocations: 3.938 kB / 0.524 GB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.845e-05/0.004841, allocations: 118.2 kB / 0.5241 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.004842, allocations: 0 / 0.5241 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-06/0.004848, allocations: 4 kB / 0.5241 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.004849, allocations: 3.938 kB / 0.5241 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-06/0.004853, allocations: 0.9688 kB / 0.5241 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004854, allocations: 0 / 0.5241 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004854, allocations: 0 / 0.5241 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.803e-05/0.004902, allocations: 74.56 kB / 0.5242 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.004912, allocations: 11.95 kB / 0.5242 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.004921, allocations: 0 / 0.5242 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.569e-06/0.004925, allocations: 3.938 kB / 0.5242 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.004937, allocations: 0 / 0.5242 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.004939, allocations: 4.75 kB / 0.5242 GB, free: 12.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.22e-05/0.004982, allocations: 131.2 kB / 0.5243 GB, free: 12.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004982, allocations: 0.7188 kB / 0.5243 GB, free: 12.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001262/0.005108, allocations: 7.938 kB / 0.5243 GB, free: 12.79 MB / 458.7 MB 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.0001571/0.005265, allocations: 122 kB / 0.5244 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.166e-05/0.005327, allocations: 15.62 kB / 0.5245 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.005328, allocations: 0 / 0.5245 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.045e-06/0.005336, allocations: 11.69 kB / 0.5245 GB, free: 12.63 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.499e-05/0.005431, allocations: 0 / 0.5245 GB, free: 12.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.005643, allocations: 116.7 kB / 0.5246 GB, free: 12.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.991e-05/0.005673, allocations: 59.34 kB / 0.5246 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.692e-05/0.00569, allocations: 0 / 0.5246 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.005708, allocations: 12.5 kB / 0.5246 GB, free: 12.4 MB / 458.7 MB Notification: Performance of SimCode: time 6.31e-07/0.005709, allocations: 0.8125 kB / 0.5246 GB, free: 12.4 MB / 458.7 MB Notification: Performance of Templates: time 0.002016/0.007725, allocations: 0.5174 MB / 0.5252 GB, free: 11.92 MB / 458.7 MB " [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.841520518064499]