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.001031/0.001031, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001054/0.001054, allocations: 177 kB / 23.36 MB, free: 1.133 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.057/1.057, allocations: 177.1 MB / 203.8 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.7718/0.7718, allocations: 154.9 MB / 415.1 MB, free: 248 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.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.473e-06/1.473e-06, allocations: 0.7656 kB / 480.3 MB, free: 6.621 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.378e-05, allocations: 4.281 kB / 480.3 MB, free: 6.617 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003087/0.003111, allocations: 1.532 MB / 481.9 MB, free: 5.105 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.004696, allocations: 1.263 MB / 483.1 MB, free: 3.848 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.004759, allocations: 3.938 kB / 483.1 MB, free: 3.844 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.004953, allocations: 16.41 kB / 483.2 MB, free: 3.828 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.005161, allocations: 50.67 kB / 483.2 MB, free: 3.785 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.005332, allocations: 57.77 kB / 483.3 MB, free: 3.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.005542, allocations: 151.7 kB / 483.4 MB, free: 3.598 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.005675, allocations: 49.64 kB / 483.5 MB, free: 3.551 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.005814, allocations: 103.7 kB / 483.6 MB, free: 3.449 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.005947, allocations: 43.64 kB / 483.6 MB, free: 3.41 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.005982, allocations: 12 kB / 483.6 MB, free: 3.398 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.006051, allocations: 27.98 kB / 483.6 MB, free: 3.371 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.006127, allocations: 51.81 kB / 483.7 MB, free: 3.32 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.006193, allocations: 51.83 kB / 483.7 MB, free: 3.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.006436, allocations: 171.4 kB / 483.9 MB, free: 3.102 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006438, allocations: 4 kB / 483.9 MB, free: 3.098 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006439, allocations: 0.7812 kB / 483.9 MB, free: 3.098 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.006442, allocations: 0 / 483.9 MB, free: 3.098 MB / 442.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.000532/0.006974, allocations: 387.9 kB / 484.3 MB, free: 2.699 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.007007, allocations: 8.031 kB / 484.3 MB, free: 2.691 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.007063, allocations: 22.77 kB / 484.3 MB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.007307, allocations: 195.9 kB / 484.5 MB, free: 2.453 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.007446, allocations: 214.2 kB / 484.7 MB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.007477, allocations: 8.375 kB / 484.7 MB, free: 2.188 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.007705, allocations: 188.7 kB / 484.9 MB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.007712, allocations: 192 / 484.9 MB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.007733, allocations: 8.516 kB / 484.9 MB, free: 1.969 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.007762, allocations: 11.98 kB / 484.9 MB, free: 1.957 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.467e-05/0.007797, allocations: 15.75 kB / 484.9 MB, free: 1.945 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.008362, allocations: 287.5 kB / 485.2 MB, free: 1.648 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.246e-05/0.008415, allocations: 26.45 kB / 485.3 MB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.008438, allocations: 8.859 kB / 485.3 MB, free: 1.602 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.00846, allocations: 8.641 kB / 485.3 MB, free: 1.594 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.008487, allocations: 39.59 kB / 485.3 MB, free: 1.547 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.008488, allocations: 0 / 485.3 MB, free: 1.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001696/0.008658, allocations: 65.8 kB / 485.4 MB, free: 1.477 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.008689, allocations: 56.06 kB / 485.4 MB, free: 1.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.008836, allocations: 180.2 kB / 485.6 MB, free: 1.219 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.008862, allocations: 26.86 kB / 485.6 MB, free: 1.188 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.008919, allocations: 124.1 kB / 485.8 MB, free: 1.062 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.008943, allocations: 19.84 kB / 485.8 MB, free: 1.043 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.00899, allocations: 35.64 kB / 485.8 MB, free: 1.004 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.009087, allocations: 326.8 kB / 486.1 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.009109, allocations: 4 kB / 486.1 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.009176, allocations: 86.22 kB / 486.2 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.009294, allocations: 116.9 kB / 486.3 MB, free: 412 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.009298, allocations: 3.938 kB / 486.3 MB, free: 408 kB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001586/0.009456, allocations: 96.22 kB / 486.4 MB, free: 308 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.009471, allocations: 8.625 kB / 486.4 MB, free: 300 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.009477, allocations: 4 kB / 486.4 MB, free: 296 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.009492, allocations: 4.625 kB / 486.4 MB, free: 292 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.009583, allocations: 23.92 kB / 486.5 MB, free: 268 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.009589, allocations: 4.625 kB / 486.5 MB, free: 264 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.009653, allocations: 16.48 kB / 486.5 MB, free: 248 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.009664, allocations: 4 kB / 486.5 MB, free: 244 kB / 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 8.851e-05/0.009753, allocations: 129.3 kB / 486.6 MB, free: 104 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.009795, allocations: 9.781 kB / 486.6 MB, free: 96 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.009939, allocations: 86.98 kB / 486.7 MB, free: 0 / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.009941, allocations: 0 / 486.7 MB, free: 0 / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.009943, allocations: 0 / 486.7 MB, free: 0 / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.009946, allocations: 0 / 486.7 MB, free: 0 / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.01013, allocations: 107 kB / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01013, allocations: 0 / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.01017, allocations: 19.92 kB / 486.8 MB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.01018, allocations: 3.938 kB / 486.8 MB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.01018, allocations: 0.5312 kB / 486.8 MB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.01018, allocations: 5 kB / 486.8 MB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01019, allocations: 0 / 486.8 MB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.01031, allocations: 147.5 kB / 487 MB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.01033, allocations: 16.38 kB / 487 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.01034, allocations: 4.938 kB / 487 MB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.01049, allocations: 7.984 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.0105, allocations: 9.141 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.01053, allocations: 15.98 kB / 487 MB, free: 15.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.72e-05/0.0106, allocations: 59.02 kB / 487.1 MB, free: 15.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0106, allocations: 2.125 kB / 487.1 MB, free: 15.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003197/0.01092, allocations: 31.94 kB / 487.1 MB, free: 15.55 MB / 458.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.0002079/0.01112, allocations: 99.89 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.01123, allocations: 54.61 kB / 487.3 MB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.01124, allocations: 4 kB / 487.3 MB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.181e-05/0.01126, allocations: 12.86 kB / 487.3 MB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.01152, allocations: 34.2 kB / 487.3 MB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.01192, allocations: 261.9 kB / 487.6 MB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.01198, allocations: 75.33 kB / 487.7 MB, free: 14.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.553e-05/0.01206, allocations: 32.84 kB / 487.7 MB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.01235, allocations: 108.3 kB / 487.8 MB, free: 14.83 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01235, allocations: 0 / 487.8 MB, free: 14.83 MB / 458.7 MB Notification: Performance of Templates: time 0.005594/0.01794, allocations: 2.721 MB / 490.5 MB, free: 12.32 MB / 458.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.66299872007221]