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.0006756/0.0006756, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008575/0.001533, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000674/0.000674, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000816/0.00149, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9713/0.9713, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1177/1.089, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7599/0.7599, allocations: 155.3 MB / 399.3 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2456/1.006, allocations: 49.12 MB / 448.4 MB, free: 6.039 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.412e-06/1.412e-06, allocations: 0 / 449.7 MB, free: 4.754 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.214e-05, allocations: 3.984 kB / 449.7 MB, free: 4.75 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002833/0.002855, allocations: 1.443 MB / 451.1 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 8.492e-05/0.00294, allocations: 27.84 kB / 451.2 MB, free: 3.301 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.002978, allocations: 0 / 451.2 MB, free: 3.301 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.003086, allocations: 18.19 kB / 451.2 MB, free: 3.285 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.003154, allocations: 13.45 kB / 451.2 MB, free: 3.273 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.148e-06/0.003159, allocations: 0 / 451.2 MB, free: 3.273 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.927e-05/0.003228, allocations: 16.59 kB / 451.2 MB, free: 3.262 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.003271, allocations: 2.578 kB / 451.2 MB, free: 3.262 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.391e-05/0.003354, allocations: 17.92 kB / 451.2 MB, free: 3.25 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.003411, allocations: 8.969 kB / 451.2 MB, free: 3.242 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.003435, allocations: 0.7656 kB / 451.2 MB, free: 3.242 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.003488, allocations: 15.98 kB / 451.3 MB, free: 3.227 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.003526, allocations: 5.641 kB / 451.3 MB, free: 3.223 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.003547, allocations: 1.875 kB / 451.3 MB, free: 3.223 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.003655, allocations: 26.28 kB / 451.3 MB, free: 3.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.602e-05/0.003671, allocations: 0 / 451.3 MB, free: 3.199 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.003672, allocations: 0.9062 kB / 451.3 MB, free: 3.199 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.00369, allocations: 0.875 kB / 451.3 MB, free: 3.199 MB / 426.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.0003256/0.004016, allocations: 240 kB / 451.5 MB, free: 2.941 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.004049, allocations: 12.03 kB / 451.5 MB, free: 2.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.004076, allocations: 1.625 kB / 451.5 MB, free: 2.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.004227, allocations: 128.3 kB / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.004237, allocations: 2.844 kB / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-06/0.004243, allocations: 4.375 kB / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.517e-05/0.004318, allocations: 29.09 kB / 451.7 MB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004325, allocations: 192 / 451.7 MB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.004332, allocations: 384 / 451.7 MB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.004359, allocations: 5.25 kB / 451.7 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.63e-05/0.004376, allocations: 5.156 kB / 451.7 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.466e-05/0.00447, allocations: 72.64 kB / 451.8 MB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.752e-05/0.004508, allocations: 22.52 kB / 451.8 MB, free: 2.613 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.004522, allocations: 5.359 kB / 451.8 MB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.004542, allocations: 1.812 kB / 451.8 MB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.00457, allocations: 34.56 kB / 451.8 MB, free: 2.562 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.004572, allocations: 0 / 451.8 MB, free: 2.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 9.184e-05/0.004663, allocations: 30.58 kB / 451.9 MB, free: 2.527 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.004696, allocations: 56.22 kB / 451.9 MB, free: 2.461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.004796, allocations: 114.7 kB / 452 MB, free: 2.336 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.004806, allocations: 26.42 kB / 452.1 MB, free: 2.305 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.004833, allocations: 88.12 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.004856, allocations: 4.516 kB / 452.2 MB, free: 2.211 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.004881, allocations: 10.72 kB / 452.2 MB, free: 2.195 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.005, allocations: 323.4 kB / 452.5 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-06/0.005008, allocations: 0 / 452.5 MB, free: 1.871 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.005015, allocations: 5.969 kB / 452.5 MB, free: 1.867 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/0.005041, allocations: 15.67 kB / 452.5 MB, free: 1.848 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005043, allocations: 0 / 452.5 MB, free: 1.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.541e-05/0.005098, allocations: 29.7 kB / 452.5 MB, free: 1.812 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.005111, allocations: 9.797 kB / 452.5 MB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.005116, allocations: 4 kB / 452.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.005125, allocations: 0 / 452.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.005177, allocations: 0.6562 kB / 452.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.00518, allocations: 320 / 452.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.005194, allocations: 5.875 kB / 452.6 MB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.0052, allocations: 4 kB / 452.6 MB, free: 1.793 MB / 426.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.811e-05/0.005258, allocations: 116.6 kB / 452.7 MB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.005265, allocations: 0.9062 kB / 452.7 MB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.919e-05/0.005344, allocations: 37.16 kB / 452.7 MB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.005347, allocations: 9.141 kB / 452.7 MB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.005349, allocations: 0.9844 kB / 452.7 MB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.005352, allocations: 0 / 452.7 MB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.667e-05/0.005418, allocations: 66.44 kB / 452.8 MB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.00542, allocations: 1.75 kB / 452.8 MB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.005442, allocations: 0 / 452.8 MB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.005454, allocations: 7.984 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.005457, allocations: 0.6094 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.005463, allocations: 11.92 kB / 452.8 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.005465, allocations: 1.406 kB / 452.8 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.005466, allocations: 1.094 kB / 452.8 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.515e-05/0.005531, allocations: 59.91 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.005541, allocations: 1.344 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-06/0.00555, allocations: 0 / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.00556, allocations: 3.984 kB / 452.9 MB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.005564, allocations: 4 kB / 452.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.929e-05/0.005584, allocations: 9.484 kB / 452.9 MB, free: 1.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005584, allocations: 1 kB / 452.9 MB, free: 1.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.005751, allocations: 11.89 kB / 452.9 MB, free: 1.398 MB / 426.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.000169/0.00592, allocations: 95.98 kB / 453 MB, free: 1.301 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.702e-05/0.005977, allocations: 13.42 kB / 453 MB, free: 1.285 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.005981, allocations: 0.625 kB / 453 MB, free: 1.285 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.005987, allocations: 5.484 kB / 453 MB, free: 1.277 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.403e-05/0.006061, allocations: 13.55 kB / 453 MB, free: 1.266 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.006452, allocations: 114.6 kB / 453.1 MB, free: 1.133 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.481e-05/0.006486, allocations: 63.83 kB / 453.2 MB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.558e-05/0.006502, allocations: 0 / 453.2 MB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.609e-05/0.006598, allocations: 51.97 kB / 453.2 MB, free: 1 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.006599, allocations: 0 / 453.2 MB, free: 1 MB / 426.7 MB Notification: Performance of Templates: time 0.002409/0.009008, allocations: 0.5511 MB / 453.8 MB, free: 0.5 MB / 426.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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5524160834029317]