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.0006853/0.0006853, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009624/0.001648, 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.0006999/0.0006999, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002041, 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.9267/0.9267, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07739/1.004, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.8366/0.8366, allocations: 155.3 MB / 399.2 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.2838/1.12, allocations: 49.14 MB / 448.4 MB, free: 5.996 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.533e-06/1.533e-06, allocations: 0 / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.628e-05, allocations: 2.312 kB / 449.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001913/0.001929, allocations: 1.46 MB / 451.1 MB, free: 3.297 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 7.87e-05/0.002008, allocations: 33.12 kB / 451.2 MB, free: 3.266 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.002046, allocations: 0.7656 kB / 451.2 MB, free: 3.266 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.388e-05/0.00214, allocations: 15.86 kB / 451.2 MB, free: 3.25 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.064e-05/0.0022, allocations: 18.36 kB / 451.2 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.487e-06/0.002204, allocations: 0 / 451.2 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.957e-05/0.002273, allocations: 18.67 kB / 451.2 MB, free: 3.223 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.00231, allocations: 4.641 kB / 451.2 MB, free: 3.219 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.002382, allocations: 18.05 kB / 451.2 MB, free: 3.207 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.002431, allocations: 12.84 kB / 451.2 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.002457, allocations: 0.5469 kB / 451.2 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.506e-05/0.002502, allocations: 12.56 kB / 451.3 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.34e-05/0.002535, allocations: 6.375 kB / 451.3 MB, free: 3.18 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.002554, allocations: 1.312 kB / 451.3 MB, free: 3.18 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.445e-05/0.002648, allocations: 27.38 kB / 451.3 MB, free: 3.156 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.48e-05/0.002663, allocations: 0 / 451.3 MB, free: 3.156 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.002664, allocations: 0.6562 kB / 451.3 MB, free: 3.156 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.002681, allocations: 0 / 451.3 MB, free: 3.156 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.000306/0.002987, allocations: 245.5 kB / 451.5 MB, free: 2.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.003015, allocations: 12.03 kB / 451.5 MB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.003037, allocations: 0.9375 kB / 451.5 MB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.00317, allocations: 127.2 kB / 451.7 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.003178, allocations: 1.547 kB / 451.7 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-06/0.003184, allocations: 384 / 451.7 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.947e-05/0.003263, allocations: 43.19 kB / 451.7 MB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.003269, allocations: 192 / 451.7 MB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-06/0.003275, allocations: 1.141 kB / 451.7 MB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.003298, allocations: 384 / 451.7 MB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.282e-05/0.003311, allocations: 7.875 kB / 451.7 MB, free: 2.676 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.963e-05/0.00338, allocations: 63.36 kB / 451.8 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.592e-05/0.003416, allocations: 20.64 kB / 451.8 MB, free: 2.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.236e-05/0.003429, allocations: 8.859 kB / 451.8 MB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.003449, allocations: 0.8438 kB / 451.8 MB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.003468, allocations: 31.22 kB / 451.8 MB, free: 2.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.003469, allocations: 0 / 451.8 MB, free: 2.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.82e-05/0.003557, allocations: 38.25 kB / 451.9 MB, free: 2.477 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.003588, allocations: 56.91 kB / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.804e-05/0.003667, allocations: 114.7 kB / 452 MB, free: 2.285 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.003678, allocations: 29.7 kB / 452.1 MB, free: 2.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.003702, allocations: 81.02 kB / 452.2 MB, free: 2.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.003725, allocations: 6.047 kB / 452.2 MB, free: 2.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.003749, allocations: 13.72 kB / 452.2 MB, free: 2.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.003847, allocations: 326.8 kB / 452.5 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-06/0.003854, allocations: 0 / 452.5 MB, free: 1.816 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.003861, allocations: 4 kB / 452.5 MB, free: 1.812 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.003885, allocations: 8.594 kB / 452.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.003888, allocations: 0.9844 kB / 452.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.118e-05/0.003939, allocations: 38.64 kB / 452.5 MB, free: 1.758 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.003951, allocations: 4 kB / 452.5 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.003959, allocations: 4.859 kB / 452.6 MB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.003967, allocations: 0 / 452.6 MB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.004022, allocations: 4 kB / 452.6 MB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.004025, allocations: 0.5 kB / 452.6 MB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.004039, allocations: 4.5 kB / 452.6 MB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.004045, allocations: 0.9062 kB / 452.6 MB, free: 1.742 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 5.908e-05/0.004104, allocations: 113.2 kB / 452.7 MB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.004112, allocations: 5.703 kB / 452.7 MB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.067e-05/0.004182, allocations: 41.09 kB / 452.7 MB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.004184, allocations: 0.625 kB / 452.7 MB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.004186, allocations: 0 / 452.7 MB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.004188, allocations: 1.859 kB / 452.7 MB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.674e-05/0.004255, allocations: 73.81 kB / 452.8 MB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.004256, allocations: 0 / 452.8 MB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.004276, allocations: 8.5 kB / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.004285, allocations: 0.8906 kB / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.004287, allocations: 2.359 kB / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.004291, allocations: 4 kB / 452.8 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.004292, allocations: 0 / 452.8 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.004293, allocations: 1.062 kB / 452.8 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.446e-05/0.004348, allocations: 59.89 kB / 452.9 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.004357, allocations: 4 kB / 452.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-06/0.004364, allocations: 0.7188 kB / 452.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.004374, allocations: 0 / 452.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.004375, allocations: 0.9062 kB / 452.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.164e-05/0.004397, allocations: 21.88 kB / 452.9 MB, free: 1.355 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.004397, allocations: 0.5938 kB / 452.9 MB, free: 1.355 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.004538, allocations: 7.953 kB / 452.9 MB, free: 1.348 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.0001541/0.004692, allocations: 102.8 kB / 453 MB, free: 1.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.144e-05/0.004743, allocations: 10.3 kB / 453 MB, free: 1.238 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.004747, allocations: 0 / 453 MB, free: 1.238 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.237e-06/0.004756, allocations: 13.69 kB / 453 MB, free: 1.223 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.527e-05/0.004821, allocations: 12.7 kB / 453 MB, free: 1.211 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.005174, allocations: 113.1 kB / 453.2 MB, free: 1.078 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.595e-05/0.00521, allocations: 60.06 kB / 453.2 MB, free: 1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.551e-05/0.005226, allocations: 0 / 453.2 MB, free: 1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.005259, allocations: 60.94 kB / 453.3 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.00526, allocations: 0 / 453.3 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of Templates: time 0.002318/0.007578, allocations: 0.5692 MB / 453.8 MB, free: 436 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.622016852721572]