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.0006329/0.0006329, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008492/0.001482, allocations: 440 kB / 10.41 MB, free: 284 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.0006608/0.0006608, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008591/0.00152, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.042/1.042, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09754/1.14, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.7888/0.7888, allocations: 155.4 MB / 399.5 MB, free: 15.79 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.2907/1.079, allocations: 49.13 MB / 448.6 MB, free: 5.902 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.132e-06/1.132e-06, allocations: 0 / 449.9 MB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.552e-05, allocations: 4.141 kB / 449.9 MB, free: 4.598 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.001672/0.001687, allocations: 1.461 MB / 451.4 MB, free: 3.152 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 5.501e-05/0.001742, allocations: 27.84 kB / 451.4 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.001764, allocations: 0.6562 kB / 451.4 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.545e-05/0.00183, allocations: 14.61 kB / 451.4 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.001875, allocations: 17.22 kB / 451.5 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.264e-06/0.001877, allocations: 0 / 451.5 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.413e-05/0.001921, allocations: 16.81 kB / 451.5 MB, free: 3.086 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.001954, allocations: 5.297 kB / 451.5 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.002004, allocations: 12.97 kB / 451.5 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.731e-05/0.002041, allocations: 11.36 kB / 451.5 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.002053, allocations: 3.938 kB / 451.5 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.35e-05/0.002087, allocations: 12 kB / 451.5 MB, free: 3.051 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.002115, allocations: 2.562 kB / 451.5 MB, free: 3.051 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.102e-05/0.002126, allocations: 4.875 kB / 451.5 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 6.632e-05/0.002193, allocations: 31.48 kB / 451.6 MB, free: 3.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.002201, allocations: 0 / 451.6 MB, free: 3.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.002201, allocations: 1.906 kB / 451.6 MB, free: 3.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.002208, allocations: 0 / 451.6 MB, free: 3.02 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.0001756/0.002383, allocations: 235.2 kB / 451.8 MB, free: 2.766 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.269e-05/0.002406, allocations: 8.031 kB / 451.8 MB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.439e-05/0.00242, allocations: 4.938 kB / 451.8 MB, free: 2.754 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.632e-05/0.002507, allocations: 128 kB / 451.9 MB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-06/0.002511, allocations: 384 / 451.9 MB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-06/0.002517, allocations: 5.375 kB / 451.9 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.499e-05/0.002562, allocations: 31.95 kB / 452 MB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-06/0.002566, allocations: 2.156 kB / 452 MB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-06/0.002569, allocations: 4.312 kB / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.002588, allocations: 4.359 kB / 452 MB, free: 2.555 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.554e-06/0.002595, allocations: 8.438 kB / 452 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.793e-05/0.002643, allocations: 59.2 kB / 452 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.345e-05/0.002667, allocations: 19.89 kB / 452.1 MB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-06/0.002676, allocations: 8.859 kB / 452.1 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.002687, allocations: 0 / 452.1 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.002702, allocations: 35.31 kB / 452.1 MB, free: 2.391 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.002702, allocations: 0 / 452.1 MB, free: 2.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 5.226e-05/0.002754, allocations: 40.36 kB / 452.2 MB, free: 2.348 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.002773, allocations: 51.41 kB / 452.2 MB, free: 2.285 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.056e-05/0.002824, allocations: 114.7 kB / 452.3 MB, free: 2.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.002831, allocations: 25.7 kB / 452.3 MB, free: 2.129 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/0.002855, allocations: 84.69 kB / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.002869, allocations: 7.953 kB / 452.4 MB, free: 2.035 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.002886, allocations: 11.69 kB / 452.4 MB, free: 2.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.002949, allocations: 318.8 kB / 452.8 MB, free: 1.699 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-06/0.002952, allocations: 0 / 452.8 MB, free: 1.699 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-06/0.002957, allocations: 4.484 kB / 452.8 MB, free: 1.695 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.578e-05/0.002973, allocations: 21 kB / 452.8 MB, free: 1.672 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.002974, allocations: 0 / 452.8 MB, free: 1.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.585e-05/0.003, allocations: 30.91 kB / 452.8 MB, free: 1.637 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.003009, allocations: 5.062 kB / 452.8 MB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.003012, allocations: 0 / 452.8 MB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.003018, allocations: 4 kB / 452.8 MB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.419e-05/0.003042, allocations: 4.703 kB / 452.8 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-06/0.003043, allocations: 1.219 kB / 452.8 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-06/0.003051, allocations: 0 / 452.8 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.003054, allocations: 0 / 452.8 MB, free: 1.625 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 4.252e-05/0.003097, allocations: 121.2 kB / 452.9 MB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-06/0.003101, allocations: 1.438 kB / 452.9 MB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.003146, allocations: 45.08 kB / 453 MB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.003147, allocations: 0.6562 kB / 453 MB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.003151, allocations: 8.781 kB / 453 MB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.003153, allocations: 0 / 453 MB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.035e-05/0.003193, allocations: 67.28 kB / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.003194, allocations: 0 / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-06/0.003199, allocations: 0 / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.003205, allocations: 8.641 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-07/0.003205, allocations: 0.8438 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-06/0.003208, allocations: 0 / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.003208, allocations: 0 / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.003209, allocations: 0.6562 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.82e-05/0.003247, allocations: 69.81 kB / 453.1 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-06/0.003254, allocations: 4.859 kB / 453.1 MB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-06/0.003259, allocations: 0.625 kB / 453.1 MB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-06/0.003265, allocations: 0 / 453.1 MB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-07/0.003266, allocations: 1.5 kB / 453.1 MB, free: 1.254 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.437e-05/0.00328, allocations: 16.84 kB / 453.2 MB, free: 1.234 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00328, allocations: 0 / 453.2 MB, free: 1.234 MB / 426.7 MB Notification: Performance of remove unused functions: time 8.814e-05/0.003368, allocations: 11.89 kB / 453.2 MB, free: 1.223 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.0001222/0.003491, allocations: 95.16 kB / 453.3 MB, free: 1.133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 3.417e-05/0.003525, allocations: 9.516 kB / 453.3 MB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.003528, allocations: 0.9062 kB / 453.3 MB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.666e-06/0.003536, allocations: 9.406 kB / 453.3 MB, free: 1.109 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.414e-05/0.00359, allocations: 23.89 kB / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.004101, allocations: 117.1 kB / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.317e-05/0.004124, allocations: 63.16 kB / 453.5 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.128e-05/0.004135, allocations: 5.125 kB / 453.5 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.004159, allocations: 52.03 kB / 453.5 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.00416, allocations: 0 / 453.5 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of Templates: time 0.001537/0.005697, allocations: 0.5504 MB / 454.1 MB, free: 324 kB / 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.5928760087117553]