Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.000692/0.000692, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00098/0.001672, 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.0007177/0.0007177, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009305/0.001648, 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.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09458/1.101, allocations: 53.67 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.7605/0.7605, allocations: 155.4 MB / 399.5 MB, free: 15.8 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.2646/1.025, allocations: 49.13 MB / 448.6 MB, free: 5.895 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.152e-05, allocations: 7.125 kB / 449.9 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002873/0.002894, allocations: 1.473 MB / 451.4 MB, free: 3.16 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 7.046e-05/0.002965, allocations: 37.64 kB / 451.4 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.002993, allocations: 0 / 451.4 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.723e-05/0.00308, allocations: 15.81 kB / 451.5 MB, free: 3.109 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.003134, allocations: 18.38 kB / 451.5 MB, free: 3.094 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.655e-06/0.003137, allocations: 0.6562 kB / 451.5 MB, free: 3.094 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.003195, allocations: 20.45 kB / 451.5 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.033e-05/0.003226, allocations: 5.297 kB / 451.5 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.00329, allocations: 19.91 kB / 451.5 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.003337, allocations: 9.406 kB / 451.5 MB, free: 3.055 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.003355, allocations: 1.094 kB / 451.5 MB, free: 3.055 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.987e-05/0.003394, allocations: 12 kB / 451.5 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.003425, allocations: 1.312 kB / 451.5 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.003443, allocations: 4.766 kB / 451.5 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.325e-05/0.003526, allocations: 28.31 kB / 451.6 MB, free: 3.016 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.003537, allocations: 4 kB / 451.6 MB, free: 3.012 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003538, allocations: 0 / 451.6 MB, free: 3.012 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.003545, allocations: 0 / 451.6 MB, free: 3.012 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.0002293/0.003775, allocations: 236 kB / 451.8 MB, free: 2.758 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.003805, allocations: 12.91 kB / 451.8 MB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.003829, allocations: 6.469 kB / 451.8 MB, free: 2.742 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.003949, allocations: 132.4 kB / 452 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.003956, allocations: 384 / 452 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.003965, allocations: 384 / 452 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.745e-05/0.004032, allocations: 29.78 kB / 452 MB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.004038, allocations: 192 / 452 MB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.004044, allocations: 6.672 kB / 452 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.004068, allocations: 384 / 452 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.038e-05/0.004078, allocations: 7.922 kB / 452 MB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.712e-05/0.004145, allocations: 67.36 kB / 452.1 MB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.838e-05/0.004173, allocations: 18.52 kB / 452.1 MB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.13e-05/0.004185, allocations: 9.484 kB / 452.1 MB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.0042, allocations: 1.688 kB / 452.1 MB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.004217, allocations: 30.56 kB / 452.1 MB, free: 2.379 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.984e-06/0.004219, allocations: 0.7031 kB / 452.1 MB, free: 2.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 7.646e-05/0.004295, allocations: 34.56 kB / 452.2 MB, free: 2.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.004321, allocations: 56.78 kB / 452.2 MB, free: 2.273 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.004394, allocations: 118.7 kB / 452.3 MB, free: 2.145 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.004403, allocations: 25.7 kB / 452.4 MB, free: 2.113 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.152e-05/0.004424, allocations: 88.97 kB / 452.4 MB, free: 2.023 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.004442, allocations: 3.953 kB / 452.4 MB, free: 2.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.004465, allocations: 17.72 kB / 452.5 MB, free: 1.996 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.004536, allocations: 316.5 kB / 452.8 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-06/0.004542, allocations: 0 / 452.8 MB, free: 1.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.004547, allocations: 0.625 kB / 452.8 MB, free: 1.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.955e-05/0.004567, allocations: 16.27 kB / 452.8 MB, free: 1.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.004569, allocations: 0 / 452.8 MB, free: 1.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.706e-05/0.004606, allocations: 37.19 kB / 452.8 MB, free: 1.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.004618, allocations: 8 kB / 452.8 MB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.004621, allocations: 0 / 452.8 MB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.004633, allocations: 0 / 452.8 MB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.932e-05/0.004672, allocations: 0 / 452.8 MB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.004675, allocations: 4.641 kB / 452.8 MB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-06/0.004685, allocations: 4 kB / 452.8 MB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.004689, allocations: 0 / 452.8 MB, free: 1.605 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.603e-05/0.004735, allocations: 117.5 kB / 453 MB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-06/0.00474, allocations: 4.875 kB / 453 MB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.004797, allocations: 42.28 kB / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.004799, allocations: 2.047 kB / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.0048, allocations: 0 / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.004803, allocations: 0 / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.872e-05/0.004852, allocations: 66.47 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.004853, allocations: 0 / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-06/0.004862, allocations: 8.469 kB / 453.1 MB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.004869, allocations: 4.672 kB / 453.1 MB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.00487, allocations: 0 / 453.1 MB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.004875, allocations: 4.562 kB / 453.1 MB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004875, allocations: 0.875 kB / 453.1 MB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.004876, allocations: 0.5625 kB / 453.1 MB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.683e-05/0.004913, allocations: 60.53 kB / 453.1 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.004921, allocations: 4.859 kB / 453.2 MB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-06/0.004927, allocations: 5.5 kB / 453.2 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-06/0.004935, allocations: 0 / 453.2 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/0.004937, allocations: 0.5312 kB / 453.2 MB, free: 1.242 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.723e-05/0.004954, allocations: 18.53 kB / 453.2 MB, free: 1.223 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004954, allocations: 0.6562 kB / 453.2 MB, free: 1.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.066e-05/0.005044, allocations: 7.953 kB / 453.2 MB, free: 1.215 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.000154/0.005198, allocations: 98.41 kB / 453.3 MB, free: 1.117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.462e-05/0.005253, allocations: 19.55 kB / 453.3 MB, free: 1.098 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.005257, allocations: 0 / 453.3 MB, free: 1.098 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.809e-06/0.005266, allocations: 5.625 kB / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.833e-05/0.005335, allocations: 17.14 kB / 453.3 MB, free: 1.074 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.005638, allocations: 121.6 kB / 453.4 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.541e-05/0.005663, allocations: 55.22 kB / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.572e-05/0.005679, allocations: 8.641 kB / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.005706, allocations: 48.41 kB / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.005706, allocations: 0 / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of Templates: time 0.001843/0.007549, allocations: 0.57 MB / 454.1 MB, free: 296 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5668666856363416]