Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.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.001184/0.001184, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.00288, 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.001181/0.001181, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.002721, 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.9757/0.9757, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09038/1.066, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7952/0.7952, 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.2731/1.068, allocations: 49.12 MB / 448.4 MB, free: 6.055 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.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 449.7 MB, free: 4.793 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.102e-05, allocations: 4.562 kB / 449.7 MB, free: 4.789 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002746/0.002767, allocations: 1.576 MB / 451.2 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004817/0.007584, allocations: 1.284 MB / 452.5 MB, free: 1.953 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.007653, allocations: 0 / 452.5 MB, free: 1.953 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.007795, allocations: 16.52 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.007959, allocations: 41.03 kB / 452.6 MB, free: 1.902 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.008156, allocations: 58.97 kB / 452.6 MB, free: 1.848 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.008385, allocations: 153.6 kB / 452.8 MB, free: 1.715 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.008527, allocations: 41.8 kB / 452.8 MB, free: 1.672 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.008724, allocations: 119.5 kB / 452.9 MB, free: 1.559 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.008876, allocations: 51.88 kB / 453 MB, free: 1.508 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.008914, allocations: 8 kB / 453 MB, free: 1.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.008994, allocations: 22 kB / 453 MB, free: 1.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.009059, allocations: 35.88 kB / 453.1 MB, free: 1.445 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.342e-05/0.009122, allocations: 31.92 kB / 453.1 MB, free: 1.414 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.01241, allocations: 147.5 kB / 453.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.01242, allocations: 0 / 453.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01242, allocations: 2.125 kB / 453.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.01244, allocations: 0 / 453.2 MB, free: 1.27 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006486/0.01309, allocations: 417.6 kB / 453.6 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.01312, allocations: 11.97 kB / 453.7 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.01319, allocations: 16.92 kB / 453.7 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.01347, allocations: 190.8 kB / 453.9 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.01362, allocations: 220.1 kB / 454.1 MB, free: 344 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.01365, allocations: 9.734 kB / 454.1 MB, free: 336 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.01388, allocations: 195.6 kB / 454.3 MB, free: 108 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.01389, allocations: 4.188 kB / 454.3 MB, free: 104 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.01391, allocations: 4.125 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.01394, allocations: 12.66 kB / 454.3 MB, free: 88 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.017e-05/0.01398, allocations: 15.5 kB / 454.3 MB, free: 76 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.01461, allocations: 275.7 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.48e-05/0.01466, allocations: 26.52 kB / 454.6 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.01469, allocations: 20.83 kB / 454.6 MB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.01471, allocations: 6.094 kB / 454.6 MB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.01474, allocations: 30.56 kB / 454.7 MB, free: 15.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.01474, allocations: 1.172 kB / 454.7 MB, free: 15.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001669/0.01491, allocations: 65.75 kB / 454.7 MB, free: 15.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.01494, allocations: 55.41 kB / 454.8 MB, free: 15.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.01645, allocations: 185.1 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.01648, allocations: 33.7 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.01654, allocations: 105.7 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.01657, allocations: 32.78 kB / 455.1 MB, free: 15.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.01662, allocations: 21.72 kB / 455.2 MB, free: 15.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01672, allocations: 331.7 kB / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.01674, allocations: 4 kB / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.757e-05/0.01681, allocations: 78.28 kB / 455.6 MB, free: 14.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.01693, allocations: 117.8 kB / 455.7 MB, free: 14.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.01693, allocations: 3.938 kB / 455.7 MB, free: 14.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001686/0.0171, allocations: 100.3 kB / 455.8 MB, free: 14.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01712, allocations: 8 kB / 455.8 MB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01713, allocations: 0.7188 kB / 455.8 MB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01714, allocations: 7.938 kB / 455.8 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.01725, allocations: 28.83 kB / 455.8 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.01726, allocations: 4 kB / 455.8 MB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.01732, allocations: 15.89 kB / 455.8 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.01733, allocations: 8.594 kB / 455.8 MB, free: 14.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.1e-05/0.01743, allocations: 126 kB / 456 MB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.01747, allocations: 11.98 kB / 456 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.01762, allocations: 79.06 kB / 456.1 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.01762, allocations: 4.781 kB / 456.1 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01763, allocations: 0 / 456.1 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01763, allocations: 9.375 kB / 456.1 MB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.01779, allocations: 105.8 kB / 456.2 MB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.0178, allocations: 1.266 kB / 456.2 MB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.01785, allocations: 12 kB / 456.2 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.01787, allocations: 20.67 kB / 456.2 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01787, allocations: 0 / 456.2 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.01788, allocations: 0.6562 kB / 456.2 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01788, allocations: 4 kB / 456.2 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01788, allocations: 0.9062 kB / 456.2 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.01802, allocations: 155.5 kB / 456.4 MB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.01804, allocations: 4 kB / 456.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.01818, allocations: 9.172 kB / 456.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.0182, allocations: 11.92 kB / 456.4 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.01822, allocations: 12.61 kB / 456.4 MB, free: 13.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.775e-05/0.01829, allocations: 53.39 kB / 456.5 MB, free: 13.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01829, allocations: 0.5938 kB / 456.5 MB, free: 13.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002829/0.01857, allocations: 36.58 kB / 456.5 MB, free: 13.69 MB / 442.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 (8): * Single equations (assignments): 8 * 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.0002284/0.0188, allocations: 108.4 kB / 456.6 MB, free: 13.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.01892, allocations: 46.64 kB / 456.6 MB, free: 13.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.01892, allocations: 4 kB / 456.6 MB, free: 13.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.583e-05/0.01895, allocations: 17.45 kB / 456.7 MB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.01923, allocations: 47.3 kB / 456.7 MB, free: 13.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006254/0.01985, allocations: 269.2 kB / 457 MB, free: 13.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.619e-05/0.01992, allocations: 83.05 kB / 457.1 MB, free: 13.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.026e-05/0.02001, allocations: 29.41 kB / 457.1 MB, free: 13.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.02028, allocations: 107.8 kB / 457.2 MB, free: 12.95 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02028, allocations: 2 kB / 457.2 MB, free: 12.95 MB / 442.7 MB Notification: Performance of Templates: time 0.006123/0.02641, allocations: 2.909 MB / 460.1 MB, free: 10.26 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.705254988744855]