Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.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.0008938/0.0008938, 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.001332/0.001332, allocations: 173 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.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8359/0.8359, allocations: 154.9 MB / 415.1 MB, free: 260 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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 480.3 MB, free: 6.602 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.426e-05, allocations: 7.047 kB / 480.3 MB, free: 6.598 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002603/0.002628, allocations: 1.392 MB / 481.7 MB, free: 5.227 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.002778, allocations: 40.75 kB / 481.8 MB, free: 5.188 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.002824, allocations: 3.938 kB / 481.8 MB, free: 5.184 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.003003, allocations: 13.89 kB / 481.8 MB, free: 5.172 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.003116, allocations: 9.625 kB / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.337e-06/0.003119, allocations: 0 / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.777e-05/0.003187, allocations: 20.69 kB / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.003227, allocations: 0 / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.003283, allocations: 17.78 kB / 481.8 MB, free: 5.133 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.003339, allocations: 2.266 kB / 481.8 MB, free: 5.133 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.003361, allocations: 4.781 kB / 481.9 MB, free: 5.129 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.886e-05/0.00341, allocations: 15.92 kB / 481.9 MB, free: 5.113 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.003447, allocations: 5.922 kB / 481.9 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.5e-05/0.003462, allocations: 1.969 kB / 481.9 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.611e-05/0.003558, allocations: 26.12 kB / 481.9 MB, free: 5.086 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.00356, allocations: 0 / 481.9 MB, free: 5.086 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003561, allocations: 1.719 kB / 481.9 MB, free: 5.086 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.003564, allocations: 0 / 481.9 MB, free: 5.086 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002627/0.003827, allocations: 238.4 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.003865, allocations: 12.03 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.003891, allocations: 0.9375 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.004018, allocations: 124.4 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.004029, allocations: 9.25 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.004037, allocations: 384 / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.173e-05/0.004109, allocations: 33.09 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004116, allocations: 1.062 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-06/0.004122, allocations: 384 / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.004145, allocations: 4.375 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.052e-05/0.004155, allocations: 9.062 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.704e-05/0.004242, allocations: 74.62 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.653e-05/0.004279, allocations: 16.14 kB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.351e-05/0.004292, allocations: 4.859 kB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.004307, allocations: 4.75 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.004329, allocations: 30.56 kB / 482.5 MB, free: 4.449 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.004329, allocations: 0.9062 kB / 482.5 MB, free: 4.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.722e-05/0.004417, allocations: 34.64 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.004449, allocations: 51.41 kB / 482.5 MB, free: 4.348 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.616e-05/0.004525, allocations: 114.7 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.004537, allocations: 30.98 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.004567, allocations: 92.12 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.004586, allocations: 1.312 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.00461, allocations: 9.719 kB / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.004708, allocations: 322.8 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-06/0.004714, allocations: 1.203 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.00472, allocations: 1.219 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.49e-05/0.004745, allocations: 19.61 kB / 483.1 MB, free: 3.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004747, allocations: 0 / 483.1 MB, free: 3.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.701e-05/0.004794, allocations: 30.77 kB / 483.1 MB, free: 3.695 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.004806, allocations: 8.766 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.00481, allocations: 0.9062 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.004822, allocations: 2.484 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.906e-05/0.004861, allocations: 0.7188 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.004864, allocations: 0 / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.301e-05/0.004877, allocations: 0.5938 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.004881, allocations: 4 kB / 483.2 MB, free: 3.684 MB / 442.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 6.066e-05/0.004942, allocations: 119.2 kB / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.004949, allocations: 0 / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.846e-05/0.005017, allocations: 52.59 kB / 483.3 MB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005019, allocations: 0.7812 kB / 483.3 MB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.005022, allocations: 3.984 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.005024, allocations: 1.438 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.206e-05/0.005086, allocations: 65.84 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005087, allocations: 0 / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-06/0.005097, allocations: 0 / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005098, allocations: 0.8438 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.005102, allocations: 4 kB / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.005105, allocations: 5.312 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005106, allocations: 0 / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.441e-05/0.00516, allocations: 69.03 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.005169, allocations: 7.891 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.005179, allocations: 4.938 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.005187, allocations: 0 / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.005197, allocations: 0 / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.005201, allocations: 9.594 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.89e-05/0.00522, allocations: 9.484 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00522, allocations: 0 / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.005396, allocations: 8.625 kB / 483.5 MB, free: 3.285 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 (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.0001752/0.005571, allocations: 94.3 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.214e-05/0.005623, allocations: 5.797 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.005626, allocations: 4.766 kB / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.215e-06/0.005634, allocations: 6.422 kB / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.141e-05/0.005706, allocations: 13.59 kB / 483.6 MB, free: 3.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.005944, allocations: 118.5 kB / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.285e-05/0.005976, allocations: 55.34 kB / 483.8 MB, free: 2.945 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.759e-05/0.005994, allocations: 5.484 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.006024, allocations: 47.38 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.006025, allocations: 1.031 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of Templates: time 0.002773/0.008798, allocations: 0.5375 MB / 484.4 MB, free: 2.402 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6233297931030393]