Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00135/0.00135, allocations: 81.03 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001505/0.001505, allocations: 163.6 kB / 22.45 MB, free: 5.359 MB / 14.72 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.411/1.411, allocations: 177.2 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686: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/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.192/1.192, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.435e-05, allocations: 5.344 kB / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002519/0.002544, allocations: 1.38 MB / 0.6199 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001582/0.002702, allocations: 39.83 kB / 0.6199 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.002746, allocations: 0.9375 kB / 0.6199 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.002907, allocations: 7.938 kB / 0.62 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.003025, allocations: 27.78 kB / 0.62 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.308e-06/0.003029, allocations: 4 kB / 0.62 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.037e-05/0.0031, allocations: 11.94 kB / 0.62 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.003148, allocations: 7.984 kB / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.804e-05/0.003206, allocations: 11.94 kB / 0.62 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.003276, allocations: 7.984 kB / 0.62 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.003296, allocations: 0 / 0.62 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.937e-05/0.003356, allocations: 12 kB / 0.62 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.003401, allocations: 3.938 kB / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.00344, allocations: 11.92 kB / 0.62 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.003584, allocations: 27.91 kB / 0.6201 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.003587, allocations: 8 kB / 0.6201 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003587, allocations: 0 / 0.6201 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.003593, allocations: 0 / 0.6201 GB, free: 3.047 MB / 0.5294 GB 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.0004333/0.004026, allocations: 254.2 kB / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.004064, allocations: 9.469 kB / 0.6203 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.0041, allocations: 8.875 kB / 0.6203 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.004279, allocations: 121.7 kB / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.004289, allocations: 384 / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.004298, allocations: 4.359 kB / 0.6205 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.352e-05/0.004381, allocations: 38.19 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.004389, allocations: 4.188 kB / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.004397, allocations: 4.375 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.004417, allocations: 4.359 kB / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.76e-05/0.004444, allocations: 15.88 kB / 0.6205 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.0046, allocations: 97.33 kB / 0.6206 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.359e-05/0.004654, allocations: 30.59 kB / 0.6206 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.004671, allocations: 4.859 kB / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.004689, allocations: 0 / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.004718, allocations: 34.62 kB / 0.6207 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.004719, allocations: 0 / 0.6207 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.00485, allocations: 45.64 kB / 0.6207 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.004892, allocations: 51.41 kB / 0.6208 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.005017, allocations: 117.8 kB / 0.6209 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.005031, allocations: 25.7 kB / 0.6209 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.005077, allocations: 88.12 kB / 0.621 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.005103, allocations: 7.953 kB / 0.621 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.005131, allocations: 9.719 kB / 0.621 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.005274, allocations: 314.8 kB / 0.6213 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.005284, allocations: 0 / 0.6213 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-06/0.005293, allocations: 4 kB / 0.6213 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.056e-05/0.005323, allocations: 21.03 kB / 0.6213 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.005325, allocations: 0 / 0.6213 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.354e-05/0.005388, allocations: 33.64 kB / 0.6214 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.005402, allocations: 8 kB / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.005405, allocations: 0 / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.005418, allocations: 0 / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.952e-05/0.005457, allocations: 0 / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.005464, allocations: 4 kB / 0.6214 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.00548, allocations: 7.922 kB / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.005485, allocations: 3.938 kB / 0.6214 GB, free: 1.527 MB / 0.5294 GB 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 8.533e-05/0.00557, allocations: 114.9 kB / 0.6215 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.005585, allocations: 7.953 kB / 0.6215 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.344e-05/0.005678, allocations: 45.16 kB / 0.6216 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.005679, allocations: 3.938 kB / 0.6216 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.005682, allocations: 0 / 0.6216 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.005686, allocations: 3.938 kB / 0.6216 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.376e-05/0.00578, allocations: 105.2 kB / 0.6217 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005781, allocations: 0 / 0.6217 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.005796, allocations: 4 kB / 0.6217 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.005797, allocations: 0 / 0.6217 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.005802, allocations: 4.031 kB / 0.6217 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005803, allocations: 0 / 0.6217 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.005804, allocations: 0 / 0.6217 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.329e-05/0.005887, allocations: 65.06 kB / 0.6217 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.005898, allocations: 7.953 kB / 0.6217 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.005909, allocations: 0 / 0.6217 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.3e-05/0.005922, allocations: 4 kB / 0.6217 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-06/0.005931, allocations: 0 / 0.6217 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.005935, allocations: 4 kB / 0.6217 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.456e-05/0.006, allocations: 95.27 kB / 0.6218 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.006, allocations: 4.031 kB / 0.6218 GB, free: 1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001915/0.006192, allocations: 11.88 kB / 0.6219 GB, free: 0.9883 MB / 0.5294 GB 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.0001861/0.006378, allocations: 107.4 kB / 0.622 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.096e-05/0.006449, allocations: 7.984 kB / 0.622 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.006453, allocations: 4 kB / 0.622 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.669e-06/0.006462, allocations: 4.062 kB / 0.622 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.006596, allocations: 8.062 kB / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.006857, allocations: 104.8 kB / 0.6221 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.77e-05/0.006915, allocations: 63.34 kB / 0.6221 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.207e-05/0.006957, allocations: 7.875 kB / 0.6221 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.006983, allocations: 12.5 kB / 0.6222 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.006984, allocations: 0 / 0.6222 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of Templates: time 0.003017/0.01, allocations: 0.5198 MB / 0.6227 GB, free: 112 kB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.722171947360039] Failed to read output from testmodel.py, exit status != 0: 0.01866186037659645 0.034564491 0.027748947000000003 Calling exit ...