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.0008896/0.0008896, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0008869/0.0008869, allocations: 169 kB / 23.27 MB, free: 1.223 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.009/1.009, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.7848/0.7848, allocations: 154.9 MB / 415.1 MB, free: 252 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.423e-06/1.423e-06, allocations: 0 / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.708e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.001778/0.001795, allocations: 1.382 MB / 0.5225 GB, free: 148 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001167/0.001911, allocations: 40.92 kB / 0.5225 GB, free: 108 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.001954, allocations: 2.031 kB / 0.5225 GB, free: 108 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.002108, allocations: 12.45 kB / 0.5225 GB, free: 96 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.002206, allocations: 9.906 kB / 0.5225 GB, free: 88 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.056e-06/0.002209, allocations: 0 / 0.5225 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.315e-05/0.002262, allocations: 20.14 kB / 0.5225 GB, free: 72 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.002295, allocations: 0 / 0.5225 GB, free: 72 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.002349, allocations: 14.03 kB / 0.5226 GB, free: 60 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.002401, allocations: 8 kB / 0.5226 GB, free: 52 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.002416, allocations: 0 / 0.5226 GB, free: 52 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.095e-05/0.002457, allocations: 21.38 kB / 0.5226 GB, free: 32 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.002489, allocations: 4 kB / 0.5226 GB, free: 28 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.002506, allocations: 7.938 kB / 0.5226 GB, free: 20 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.334e-05/0.002589, allocations: 19.92 kB / 0.5226 GB, free: 0 / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002592, allocations: 0.9688 kB / 0.5226 GB, free: 0 / 490.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.002592, allocations: 0 / 0.5226 GB, free: 0 / 490.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.002596, allocations: 0 / 0.5226 GB, free: 0 / 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.0002591/0.002855, allocations: 365.4 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.002892, allocations: 12.03 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.204e-05/0.002914, allocations: 0.9375 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.003023, allocations: 138.2 kB / 0.5231 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.003031, allocations: 4.375 kB / 0.5231 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-06/0.003037, allocations: 4.875 kB / 0.5231 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.071e-05/0.003098, allocations: 31.28 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.003104, allocations: 192 / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.00311, allocations: 384 / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.003131, allocations: 1.5 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.005e-05/0.003141, allocations: 11.88 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.003493, allocations: 97.28 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.902e-05/0.003522, allocations: 23.69 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.195e-05/0.003534, allocations: 9.188 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.003555, allocations: 7.125 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.003574, allocations: 37.39 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.003575, allocations: 0 / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 8.732e-05/0.003662, allocations: 35.45 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.003685, allocations: 59.39 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.882e-05/0.003754, allocations: 165.9 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.003762, allocations: 29.7 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.003793, allocations: 132.6 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.003814, allocations: 7.938 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.003838, allocations: 19.38 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.003933, allocations: 496.1 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-06/0.003939, allocations: 0 / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.003946, allocations: 8.734 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.646e-05/0.003963, allocations: 9.094 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.003964, allocations: 0 / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.71e-05/0.004002, allocations: 37.64 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.004012, allocations: 5.031 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.004017, allocations: 3.938 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.004027, allocations: 0 / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.9e-05/0.004066, allocations: 4.938 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.004068, allocations: 0 / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-06/0.004076, allocations: 3.25 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.004081, allocations: 3.938 kB / 0.5243 GB, free: 14.09 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.358e-05/0.004135, allocations: 160.6 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.004141, allocations: 7.953 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.004196, allocations: 41.42 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.004197, allocations: 0 / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.004199, allocations: 0 / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.004202, allocations: 0 / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.448e-05/0.004256, allocations: 112.1 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.004257, allocations: 0 / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-06/0.004263, allocations: 0 / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.004264, allocations: 0 / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-06/0.004269, allocations: 4 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.00427, allocations: 3.984 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004271, allocations: 0 / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.542e-05/0.004316, allocations: 76.38 kB / 0.5247 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.004324, allocations: 5.453 kB / 0.5247 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-06/0.004331, allocations: 4 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.488e-06/0.004335, allocations: 0 / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-06/0.004344, allocations: 4 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.004345, allocations: 1.562 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.004383, allocations: 135.1 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004383, allocations: 0 / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001128/0.004496, allocations: 4 kB / 0.5248 GB, free: 13.48 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.000141/0.004637, allocations: 121 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5e-05/0.004687, allocations: 12.19 kB / 0.525 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.004688, allocations: 0 / 0.525 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.522e-06/0.004695, allocations: 14.09 kB / 0.525 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.804e-05/0.004793, allocations: 11.88 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000188/0.004981, allocations: 110.3 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.633e-05/0.005007, allocations: 51.36 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.695e-05/0.005024, allocations: 14.36 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.005054, allocations: 70.14 kB / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.005054, allocations: 0 / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.001806/0.00686, allocations: 0.536 MB / 0.5257 GB, free: 12.53 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.612954532727599]