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.0006574/0.0006574, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001687, 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.0006803/0.0006803, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008647/0.001545, 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 0.9957/0.9957, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08694/1.083, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.76/0.76, allocations: 155.3 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.2528/1.013, allocations: 49.14 MB / 448.6 MB, free: 5.898 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.212e-06/1.212e-06, allocations: 0 / 449.9 MB, free: 4.613 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.11e-05, allocations: 5.703 kB / 449.9 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002439/0.002461, allocations: 1.587 MB / 451.5 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004469/0.006929, allocations: 1.283 MB / 452.8 MB, free: 1.762 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.006976, allocations: 4 kB / 452.8 MB, free: 1.758 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.007094, allocations: 25.47 kB / 452.8 MB, free: 1.734 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.007219, allocations: 40.17 kB / 452.9 MB, free: 1.699 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.007376, allocations: 57.16 kB / 452.9 MB, free: 1.645 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.007564, allocations: 155 kB / 453.1 MB, free: 1.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.00768, allocations: 40.44 kB / 453.1 MB, free: 1.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.007847, allocations: 119.8 kB / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.007966, allocations: 39.89 kB / 453.3 MB, free: 1.324 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.008, allocations: 12 kB / 453.3 MB, free: 1.312 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.008075, allocations: 24 kB / 453.3 MB, free: 1.289 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.008137, allocations: 35.88 kB / 453.3 MB, free: 1.254 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.008186, allocations: 35.86 kB / 453.4 MB, free: 1.219 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.008407, allocations: 148.4 kB / 453.5 MB, free: 1.074 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.008416, allocations: 3.938 kB / 453.5 MB, free: 1.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.008417, allocations: 1.5 kB / 453.5 MB, free: 1.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.008425, allocations: 0 / 453.5 MB, free: 1.07 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.0005668/0.008992, allocations: 417.6 kB / 453.9 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.009029, allocations: 8.938 kB / 453.9 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.009082, allocations: 16.92 kB / 454 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.01239, allocations: 195.3 kB / 454.2 MB, free: 408 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.01257, allocations: 223.3 kB / 454.4 MB, free: 136 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.0126, allocations: 4.375 kB / 454.4 MB, free: 132 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.01284, allocations: 192.4 kB / 454.6 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.01284, allocations: 192 / 454.6 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.01286, allocations: 8.75 kB / 454.6 MB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.01289, allocations: 6.969 kB / 454.6 MB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.156e-05/0.01292, allocations: 15.98 kB / 454.6 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.01346, allocations: 277.6 kB / 454.9 MB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.01351, allocations: 27.27 kB / 454.9 MB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.01353, allocations: 17.73 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.01355, allocations: 4 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.01358, allocations: 36.34 kB / 455 MB, free: 15.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.01358, allocations: 0 / 455 MB, free: 15.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001431/0.01372, allocations: 61.61 kB / 455 MB, free: 15.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.01375, allocations: 55.39 kB / 455.1 MB, free: 15.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.01388, allocations: 184.4 kB / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.0139, allocations: 26.61 kB / 455.3 MB, free: 15.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.01395, allocations: 113.7 kB / 455.4 MB, free: 15.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.01397, allocations: 23.8 kB / 455.4 MB, free: 15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.01401, allocations: 26.2 kB / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.01416, allocations: 331.3 kB / 455.8 MB, free: 14.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.01418, allocations: 8.625 kB / 455.8 MB, free: 14.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.01424, allocations: 90.16 kB / 455.9 MB, free: 14.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.01434, allocations: 109.5 kB / 456 MB, free: 14.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.01435, allocations: 7.938 kB / 456 MB, free: 14.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001402/0.01449, allocations: 101 kB / 456.1 MB, free: 14.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.01451, allocations: 7.938 kB / 456.1 MB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01451, allocations: 4 kB / 456.1 MB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.01453, allocations: 6.812 kB / 456.1 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.01462, allocations: 23.98 kB / 456.1 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.01462, allocations: 4 kB / 456.1 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.01468, allocations: 12.67 kB / 456.1 MB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.01469, allocations: 11.94 kB / 456.1 MB, free: 14.18 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 8.058e-05/0.01477, allocations: 121.5 kB / 456.3 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.0148, allocations: 13.05 kB / 456.3 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.01494, allocations: 86.94 kB / 456.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01494, allocations: 0 / 456.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01494, allocations: 0.625 kB / 456.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01494, allocations: 0 / 456.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.01812, allocations: 106.3 kB / 456.5 MB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01812, allocations: 4.688 kB / 456.5 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.01817, allocations: 16 kB / 456.5 MB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.01819, allocations: 24.39 kB / 456.5 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.0182, allocations: 0 / 456.5 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.0182, allocations: 0.5625 kB / 456.5 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.0182, allocations: 4.594 kB / 456.5 MB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.0182, allocations: 0 / 456.5 MB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.01832, allocations: 160.3 kB / 456.7 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.01834, allocations: 4 kB / 456.7 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.01846, allocations: 12.52 kB / 456.7 MB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.01848, allocations: 9.672 kB / 456.7 MB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.0185, allocations: 3.984 kB / 456.7 MB, free: 13.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.294e-05/0.01856, allocations: 63.03 kB / 456.8 MB, free: 13.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01856, allocations: 0 / 456.8 MB, free: 13.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.0188, allocations: 39.86 kB / 456.8 MB, free: 13.48 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.000225/0.01903, allocations: 101.8 kB / 456.9 MB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.01913, allocations: 51.14 kB / 456.9 MB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.01914, allocations: 0 / 456.9 MB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.01917, allocations: 24.84 kB / 457 MB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.01946, allocations: 152.2 kB / 457.1 MB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.02, allocations: 269.3 kB / 457.4 MB, free: 12.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.19e-05/0.02005, allocations: 83.05 kB / 457.5 MB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.798e-05/0.02013, allocations: 35.09 kB / 457.5 MB, free: 12.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.02036, allocations: 111.2 kB / 457.6 MB, free: 12.61 MB / 442.7 MB Notification: Performance of SimCode: time 4.5e-07/0.02036, allocations: 0 / 457.6 MB, free: 12.61 MB / 442.7 MB Notification: Performance of Templates: time 0.01148/0.03184, allocations: 2.915 MB / 460.5 MB, free: 9.918 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.655062196776271]