Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.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.001318/0.001318, allocations: 88.72 kB / 19.44 MB, free: 356 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.001504/0.001504, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.615/1.615, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.26/1.26, allocations: 154.8 MB / 414.3 MB, free: 480 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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5198 GB, free: 1.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.217e-05, allocations: 4.141 kB / 0.5198 GB, free: 1.246 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002725/0.002757, allocations: 1.368 MB / 0.5212 GB, free: 15.89 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001614/0.002918, allocations: 37.61 kB / 0.5212 GB, free: 15.86 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.002959, allocations: 4 kB / 0.5212 GB, free: 15.85 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.003129, allocations: 13.08 kB / 0.5212 GB, free: 15.84 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.003252, allocations: 13.56 kB / 0.5212 GB, free: 15.83 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.662e-06/0.003259, allocations: 4 kB / 0.5212 GB, free: 15.82 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.00332, allocations: 15.94 kB / 0.5213 GB, free: 15.81 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.154e-05/0.003351, allocations: 0 / 0.5213 GB, free: 15.81 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.0034, allocations: 9.766 kB / 0.5213 GB, free: 15.8 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.003457, allocations: 15.92 kB / 0.5213 GB, free: 15.79 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.003473, allocations: 0 / 0.5213 GB, free: 15.79 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.965e-05/0.003523, allocations: 11.98 kB / 0.5213 GB, free: 15.78 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.003559, allocations: 0 / 0.5213 GB, free: 15.78 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.003585, allocations: 9.719 kB / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 9.442e-05/0.003679, allocations: 19.86 kB / 0.5213 GB, free: 15.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.003684, allocations: 4 kB / 0.5213 GB, free: 15.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003685, allocations: 0 / 0.5213 GB, free: 15.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.003688, allocations: 1.469 kB / 0.5213 GB, free: 15.75 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.0003816/0.00407, allocations: 258.2 kB / 0.5216 GB, free: 15.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.004106, allocations: 8.031 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.004149, allocations: 8.922 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.00433, allocations: 118.4 kB / 0.5217 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.00434, allocations: 384 / 0.5217 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-06/0.004346, allocations: 1.844 kB / 0.5217 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.947e-05/0.004436, allocations: 38.2 kB / 0.5217 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.004444, allocations: 192 / 0.5217 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.004452, allocations: 384 / 0.5217 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.004473, allocations: 5.703 kB / 0.5217 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.839e-05/0.004502, allocations: 11.92 kB / 0.5218 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.004651, allocations: 97.36 kB / 0.5218 GB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.261e-05/0.004704, allocations: 23.23 kB / 0.5219 GB, free: 15.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.004726, allocations: 12.78 kB / 0.5219 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.004747, allocations: 3.25 kB / 0.5219 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.004783, allocations: 34.56 kB / 0.5219 GB, free: 15.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.004784, allocations: 4 kB / 0.5219 GB, free: 15.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.004933, allocations: 29.7 kB / 0.522 GB, free: 14.99 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.00498, allocations: 55.41 kB / 0.522 GB, free: 14.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.005119, allocations: 117.8 kB / 0.5221 GB, free: 14.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.005139, allocations: 25.7 kB / 0.5221 GB, free: 14.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.005195, allocations: 88.69 kB / 0.5222 GB, free: 14.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.005215, allocations: 3.953 kB / 0.5222 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.005247, allocations: 14.34 kB / 0.5222 GB, free: 14.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.005412, allocations: 310.8 kB / 0.5225 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.005429, allocations: 8.812 kB / 0.5225 GB, free: 14.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.005438, allocations: 5.406 kB / 0.5226 GB, free: 14.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.974e-05/0.005468, allocations: 12.84 kB / 0.5226 GB, free: 14.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.005469, allocations: 0 / 0.5226 GB, free: 14.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.999e-05/0.005529, allocations: 34.64 kB / 0.5226 GB, free: 14.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.005541, allocations: 4 kB / 0.5226 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005545, allocations: 1.25 kB / 0.5226 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.005564, allocations: 4 kB / 0.5226 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.005607, allocations: 0 / 0.5226 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.005611, allocations: 0 / 0.5226 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.005628, allocations: 5.25 kB / 0.5226 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.005633, allocations: 0 / 0.5226 GB, free: 14.27 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 9.111e-05/0.005724, allocations: 117.8 kB / 0.5227 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.005738, allocations: 12.7 kB / 0.5227 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.992e-05/0.005828, allocations: 46.7 kB / 0.5228 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.005832, allocations: 3.984 kB / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005835, allocations: 0 / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.005841, allocations: 3.938 kB / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.986e-05/0.005941, allocations: 110.7 kB / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.005941, allocations: 0 / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.005952, allocations: 0 / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.005957, allocations: 3.984 kB / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.005963, allocations: 2.812 kB / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005964, allocations: 0 / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005965, allocations: 7.938 kB / 0.5229 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.87e-05/0.006053, allocations: 65.02 kB / 0.523 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.006064, allocations: 3.953 kB / 0.523 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.006077, allocations: 3.984 kB / 0.523 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-06/0.006086, allocations: 4 kB / 0.523 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.006099, allocations: 2.75 kB / 0.523 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.0061, allocations: 0 / 0.523 GB, free: 13.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.008e-05/0.00617, allocations: 87.28 kB / 0.5231 GB, free: 13.74 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006171, allocations: 0 / 0.5231 GB, free: 13.74 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001943/0.006365, allocations: 11.92 kB / 0.5231 GB, free: 13.73 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.0002261/0.006591, allocations: 112.5 kB / 0.5232 GB, free: 13.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.047e-05/0.006661, allocations: 8 kB / 0.5232 GB, free: 13.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.006666, allocations: 4.875 kB / 0.5232 GB, free: 13.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/0.006676, allocations: 3.938 kB / 0.5232 GB, free: 13.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.006825, allocations: 13.39 kB / 0.5232 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.007118, allocations: 109.5 kB / 0.5233 GB, free: 13.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.86e-05/0.007187, allocations: 67.7 kB / 0.5234 GB, free: 13.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.031e-05/0.007237, allocations: 1.5 kB / 0.5234 GB, free: 13.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.007265, allocations: 12.5 kB / 0.5234 GB, free: 13.36 MB / 458.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007265, allocations: 0 / 0.5234 GB, free: 13.36 MB / 458.7 MB Notification: Performance of Templates: time 0.002799/0.01006, allocations: 0.5009 MB / 0.5239 GB, free: 12.9 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.89606121298857]