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.001052/0.001052, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.000916/0.000916, allocations: 169.8 kB / 23.18 MB, free: 1.383 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 0.8834/0.8834, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7259/0.7259, allocations: 154.7 MB / 414.7 MB, free: 0.7383 MB / 378.7 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 179] 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: 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.0009137/0.0009137, allocations: 75.89 kB / 0.6195 GB, free: 13.14 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5487, allocations: 102 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002437/0.5512, allocations: 1.376 MB / 0.7204 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001475/0.5513, allocations: 40.97 kB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.5514, allocations: 1 kB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.5516, allocations: 18.64 kB / 0.7205 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.5517, allocations: 14.38 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.979e-06/0.5517, allocations: 0 / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.293e-05/0.5518, allocations: 12.94 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.784e-05/0.5519, allocations: 13.75 kB / 0.7205 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.5519, allocations: 14.73 kB / 0.7205 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.952e-05/0.552, allocations: 5.406 kB / 0.7205 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.552, allocations: 1.188 kB / 0.7205 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.552, allocations: 12.59 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.5521, allocations: 9.766 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.5521, allocations: 6.781 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.5522, allocations: 38.05 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5522, allocations: 0 / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5522, allocations: 0 / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.5523, allocations: 1.5 kB / 0.7206 GB, free: 22.57 MB / 0.6355 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.0002876/0.5525, allocations: 258.8 kB / 0.7209 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5526, allocations: 10.31 kB / 0.7209 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.5526, allocations: 2.406 kB / 0.7209 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.5528, allocations: 121.8 kB / 0.721 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.5528, allocations: 1.844 kB / 0.721 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.5528, allocations: 1.031 kB / 0.721 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.463e-05/0.5529, allocations: 46.47 kB / 0.721 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5529, allocations: 4.172 kB / 0.721 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.5529, allocations: 5.375 kB / 0.721 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.5529, allocations: 0.9844 kB / 0.721 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.5529, allocations: 2.844 kB / 0.721 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.5531, allocations: 104.4 kB / 0.7211 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.394e-05/0.5531, allocations: 22 kB / 0.7212 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.5531, allocations: 6.781 kB / 0.7212 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.5531, allocations: 1.438 kB / 0.7212 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.5532, allocations: 36.67 kB / 0.7212 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.5532, allocations: 4 kB / 0.7212 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001481/0.5533, allocations: 42.86 kB / 0.7213 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.5533, allocations: 51.41 kB / 0.7213 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.5534, allocations: 112.3 kB / 0.7214 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-06/0.5534, allocations: 29.7 kB / 0.7214 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.149e-05/0.5535, allocations: 86.06 kB / 0.7215 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.5535, allocations: 5.922 kB / 0.7215 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.5535, allocations: 15.61 kB / 0.7215 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.922e-05/0.5535, allocations: 314.4 kB / 0.7218 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.5536, allocations: 1.984 kB / 0.7218 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-06/0.5536, allocations: 9.25 kB / 0.7219 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/0.5536, allocations: 14.16 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5536, allocations: 0 / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.783e-05/0.5536, allocations: 35.33 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.5536, allocations: 4.938 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5536, allocations: 1.5 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5537, allocations: 4.547 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.5537, allocations: 1.812 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.5537, allocations: 0.6562 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.5537, allocations: 9.531 kB / 0.7219 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.5537, allocations: 0 / 0.7219 GB, free: 21.17 MB / 0.6355 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 4.336e-05/0.5538, allocations: 114.2 kB / 0.722 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.5538, allocations: 6.859 kB / 0.722 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.764e-05/0.5539, allocations: 50.69 kB / 0.7221 GB, free: 21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5539, allocations: 5.062 kB / 0.7221 GB, free: 21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5539, allocations: 0 / 0.7221 GB, free: 21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5539, allocations: 0 / 0.7221 GB, free: 21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.828e-05/0.5539, allocations: 109.2 kB / 0.7222 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5539, allocations: 1.25 kB / 0.7222 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-06/0.5539, allocations: 5.484 kB / 0.7222 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5539, allocations: 0.7812 kB / 0.7222 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.5539, allocations: 1.703 kB / 0.7222 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.5539, allocations: 0 / 0.7222 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.554, allocations: 3.938 kB / 0.7222 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.518e-05/0.554, allocations: 65.38 kB / 0.7223 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-06/0.554, allocations: 1.406 kB / 0.7223 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.554, allocations: 2.453 kB / 0.7223 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.26e-06/0.554, allocations: 0 / 0.7223 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.554, allocations: 4.781 kB / 0.7223 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.554, allocations: 5.875 kB / 0.7223 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.5541, allocations: 95 kB / 0.7224 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5541, allocations: 3.938 kB / 0.7224 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001285/0.5542, allocations: 8.016 kB / 0.7224 GB, free: 20.7 MB / 0.6355 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.0001685/0.5544, allocations: 102.2 kB / 0.7225 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.961e-05/0.5544, allocations: 5 kB / 0.7225 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5544, allocations: 5.188 kB / 0.7225 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/0.5545, allocations: 10.7 kB / 0.7225 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.5546, allocations: 3.594 kB / 0.7225 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.5548, allocations: 119.9 kB / 0.7226 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.175e-05/0.5549, allocations: 61.08 kB / 0.7227 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.398e-05/0.5549, allocations: 7.859 kB / 0.7227 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.5549, allocations: 11.45 kB / 0.7227 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of SimCode: time 7.12e-07/0.5549, allocations: 0 / 0.7227 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.002045/0.557, allocations: 0.5071 MB / 0.7232 GB, free: 20.3 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.259264306980185] Failed to read output from testmodel.py, exit status != 0: 0.5629808231024072 0.575834402 0.021031559000000002 Calling exit ...