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.0009987/0.0009987, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001438/0.001438, allocations: 173 kB / 23.5 MB, free: 1.055 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.055/1.055, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.7463/0.7463, allocations: 154.8 MB / 415.1 MB, free: 492 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.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.463e-06/1.463e-06, allocations: 0 / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.013e-05, allocations: 7.031 kB / 0.5206 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.005283/0.005313, allocations: 1.393 MB / 0.5219 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001292/0.005442, allocations: 43.75 kB / 0.522 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.005484, allocations: 1.219 kB / 0.522 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.005639, allocations: 8.812 kB / 0.522 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.005747, allocations: 16.69 kB / 0.522 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.337e-06/0.00575, allocations: 1.391 kB / 0.522 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.775e-05/0.005808, allocations: 10.62 kB / 0.522 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.005846, allocations: 4 kB / 0.522 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.005896, allocations: 19.91 kB / 0.522 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.005943, allocations: 7.984 kB / 0.522 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.005964, allocations: 0 / 0.522 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.572e-05/0.00602, allocations: 17.56 kB / 0.5221 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.006056, allocations: 3.938 kB / 0.5221 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.707e-05/0.006073, allocations: 0 / 0.5221 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.31e-05/0.006166, allocations: 23.97 kB / 0.5221 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006168, allocations: 0 / 0.5221 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006169, allocations: 1.281 kB / 0.5221 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.006173, allocations: 0 / 0.5221 GB, free: 0.7383 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.0002985/0.006472, allocations: 364.4 kB / 0.5224 GB, free: 352 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.006508, allocations: 12.66 kB / 0.5224 GB, free: 340 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.006543, allocations: 0.9375 kB / 0.5224 GB, free: 340 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.006689, allocations: 134 kB / 0.5226 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.006698, allocations: 4.375 kB / 0.5226 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.006705, allocations: 1.844 kB / 0.5226 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.034e-05/0.006775, allocations: 26.27 kB / 0.5226 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.006782, allocations: 192 / 0.5226 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.006789, allocations: 1.562 kB / 0.5226 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.006819, allocations: 8.359 kB / 0.5226 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.147e-05/0.00683, allocations: 3.938 kB / 0.5226 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.009977, allocations: 116.3 kB / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.775e-05/0.01002, allocations: 31.03 kB / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.01004, allocations: 7.688 kB / 0.5228 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.01006, allocations: 0 / 0.5228 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.01008, allocations: 37.38 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.01008, allocations: 4.062 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001217/0.0102, allocations: 37.64 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.01023, allocations: 51.41 kB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/0.01033, allocations: 177.8 kB / 0.5231 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.01034, allocations: 26.23 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.01038, allocations: 135.4 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.0104, allocations: 0.5625 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.01043, allocations: 19.36 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.01054, allocations: 497.1 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-06/0.01055, allocations: 0 / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.01055, allocations: 1.469 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.142e-05/0.01057, allocations: 15.69 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01058, allocations: 3.938 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.055e-05/0.01063, allocations: 42.12 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.01064, allocations: 4.531 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01065, allocations: 4.719 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.01066, allocations: 0 / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.511e-05/0.0107, allocations: 5.844 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.01071, allocations: 320 / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.356e-05/0.01072, allocations: 3.938 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.01072, allocations: 0 / 0.5238 GB, free: 14.8 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 6.709e-05/0.01079, allocations: 156.6 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.0108, allocations: 6.016 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.23e-05/0.01087, allocations: 45.14 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01087, allocations: 4 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01088, allocations: 0 / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01088, allocations: 3.938 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.087e-05/0.01095, allocations: 127.2 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.01095, allocations: 0 / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-06/0.01096, allocations: 0 / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01096, allocations: 4 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.01097, allocations: 0 / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.01097, allocations: 0 / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01097, allocations: 0 / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.638e-05/0.01103, allocations: 73.97 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.01104, allocations: 7.938 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.01105, allocations: 4 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.01105, allocations: 4 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.01107, allocations: 0.9375 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.01107, allocations: 0 / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.797e-05/0.01112, allocations: 135.2 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01112, allocations: 0.9375 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001818/0.0113, allocations: 7.938 kB / 0.5243 GB, free: 14.17 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.0001729/0.01147, allocations: 114.2 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.657e-05/0.01154, allocations: 19.67 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01154, allocations: 3.938 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/0.01155, allocations: 11.69 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.01168, allocations: 0 / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.01191, allocations: 117.4 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.265e-05/0.01195, allocations: 55.36 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.01197, allocations: 7.984 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.01199, allocations: 8.5 kB / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.01199, allocations: 0 / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.005235/0.01722, allocations: 0.499 MB / 0.5251 GB, free: 13.32 MB / 0.4948 GB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9273138290736824]