Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001982/0.001982, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002418/0.002418, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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.307/1.307, allocations: 203.5 MB / 0.5038 GB, free: 4.914 MB / 414.1 MB " [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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 71.89 kB / 0.7183 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6675/0.6695, allocations: 102 MB / 0.8178 GB, free: 29.12 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003309/0.6728, allocations: 1.501 MB / 0.8193 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.6747, allocations: 1.2 MB / 0.8205 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.6748, allocations: 1.219 kB / 0.8205 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.675, allocations: 22.55 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.6752, allocations: 39.67 kB / 0.8205 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.6754, allocations: 64.22 kB / 0.8206 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.6757, allocations: 153.2 kB / 0.8207 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.6759, allocations: 34.17 kB / 0.8208 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.676, allocations: 88.7 kB / 0.8209 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.6762, allocations: 50.91 kB / 0.8209 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.6762, allocations: 11.44 kB / 0.8209 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.6763, allocations: 24.89 kB / 0.8209 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.6765, allocations: 54.91 kB / 0.821 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.943e-05/0.6765, allocations: 54.2 kB / 0.821 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.6769, allocations: 212.5 kB / 0.8212 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6769, allocations: 1.906 kB / 0.8212 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6769, allocations: 0 / 0.8212 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.6769, allocations: 0 / 0.8212 GB, free: 26.95 MB / 0.6387 GB 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.000792/0.6777, allocations: 423.1 kB / 0.8216 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.6778, allocations: 10.59 kB / 0.8217 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.6779, allocations: 21.94 kB / 0.8217 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.6783, allocations: 202.9 kB / 0.8219 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.6784, allocations: 220.9 kB / 0.8221 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.6785, allocations: 8.219 kB / 0.8221 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.679, allocations: 265.6 kB / 0.8223 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.679, allocations: 2.406 kB / 0.8223 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.679, allocations: 1.531 kB / 0.8223 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.6791, allocations: 11.98 kB / 0.8224 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.528e-05/0.6792, allocations: 45.08 kB / 0.8224 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.6803, allocations: 376.5 kB / 0.8228 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.953e-05/0.6804, allocations: 38.58 kB / 0.8228 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.6804, allocations: 21.78 kB / 0.8228 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.6805, allocations: 4.266 kB / 0.8228 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.6805, allocations: 37.39 kB / 0.8229 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.6805, allocations: 0 / 0.8229 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0003154/0.6808, allocations: 107.5 kB / 0.823 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.6809, allocations: 52.78 kB / 0.823 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.6811, allocations: 214.5 kB / 0.8232 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.6812, allocations: 31.58 kB / 0.8232 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.6812, allocations: 125.3 kB / 0.8234 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.6813, allocations: 29.09 kB / 0.8234 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.6813, allocations: 30.14 kB / 0.8234 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.6814, allocations: 333.9 kB / 0.8237 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.6814, allocations: 27.78 kB / 0.8238 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.6816, allocations: 108.4 kB / 0.8239 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.6817, allocations: 134.4 kB / 0.824 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6817, allocations: 1.156 kB / 0.824 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002751/0.682, allocations: 159.3 kB / 0.8242 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.682, allocations: 6.062 kB / 0.8242 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.682, allocations: 3.391 kB / 0.8242 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.6821, allocations: 3.406 kB / 0.8242 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.6822, allocations: 26.3 kB / 0.8242 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.6822, allocations: 3.578 kB / 0.8242 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.204e-05/0.6822, allocations: 17.17 kB / 0.8242 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.6823, allocations: 10.47 kB / 0.8242 GB, free: 24.54 MB / 0.6387 GB 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 0.0001337/0.6824, allocations: 146.6 kB / 0.8244 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.6825, allocations: 19.8 kB / 0.8244 GB, free: 24.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.6827, allocations: 114.9 kB / 0.8245 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6827, allocations: 1.062 kB / 0.8245 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6827, allocations: 0 / 0.8245 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.6827, allocations: 10.05 kB / 0.8245 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.6829, allocations: 159.7 kB / 0.8246 GB, free: 24.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.683, allocations: 4.75 kB / 0.8247 GB, free: 24.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.683, allocations: 21.48 kB / 0.8247 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.683, allocations: 1.562 kB / 0.8247 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.683, allocations: 6.172 kB / 0.8247 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.683, allocations: 0.5156 kB / 0.8247 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.683, allocations: 0 / 0.8247 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.6832, allocations: 190.3 kB / 0.8249 GB, free: 24 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.6833, allocations: 13.28 kB / 0.8249 GB, free: 23.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.6833, allocations: 2.203 kB / 0.8249 GB, free: 23.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.6835, allocations: 21.78 kB / 0.8249 GB, free: 23.99 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.6836, allocations: 7.703 kB / 0.8249 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.6836, allocations: 12.66 kB / 0.8249 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001413/0.6837, allocations: 166.9 kB / 0.8251 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6837, allocations: 1.125 kB / 0.8251 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003177/0.6841, allocations: 34.73 kB / 0.8251 GB, free: 23.87 MB / 0.6387 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 (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.0002711/0.6843, allocations: 128.6 kB / 0.8252 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.6845, allocations: 76.64 kB / 0.8253 GB, free: 23.74 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6845, allocations: 0 / 0.8253 GB, free: 23.74 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.6846, allocations: 22.86 kB / 0.8253 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.6849, allocations: 23.98 kB / 0.8254 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.6855, allocations: 290.8 kB / 0.8256 GB, free: 23.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.6856, allocations: 125.5 kB / 0.8257 GB, free: 23.45 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.6857, allocations: 50.92 kB / 0.8258 GB, free: 23.44 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.6858, allocations: 25.28 kB / 0.8258 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.6858, allocations: 3.938 kB / 0.8258 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.007518/0.6933, allocations: 2.531 MB / 0.8283 GB, free: 23.15 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.115309696644545] Failed to read output from testmodel.py, exit status != 0: 0.702497960999608 0.716087134 0.036205138000000005 Calling exit ...