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.00142/0.00142, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001607/0.001607, allocations: 169.4 kB / 24.05 MB, free: 452 kB / 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.9764/0.9764, allocations: 177.1 MB / 204.5 MB, free: 5.508 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-545:108: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-545:116: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.7621/0.7621, allocations: 154.6 MB / 415.6 MB, free: 0.5039 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5215 GB, free: 1.934 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.456e-05, allocations: 3.297 kB / 0.5215 GB, free: 1.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001628/0.001642, allocations: 1.394 MB / 0.5229 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 9.962e-05/0.001742, allocations: 39.83 kB / 0.5229 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.00178, allocations: 0.7656 kB / 0.5229 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.001917, allocations: 11.88 kB / 0.5229 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.306e-05/0.00201, allocations: 22.92 kB / 0.5229 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.765e-06/0.002013, allocations: 0 / 0.5229 GB, free: 484 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.002071, allocations: 18.02 kB / 0.523 GB, free: 468 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.002107, allocations: 3.984 kB / 0.523 GB, free: 464 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.29e-05/0.00215, allocations: 11.94 kB / 0.523 GB, free: 452 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.002197, allocations: 9.641 kB / 0.523 GB, free: 444 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.002211, allocations: 0 / 0.523 GB, free: 444 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.1e-05/0.002252, allocations: 15.94 kB / 0.523 GB, free: 428 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.002286, allocations: 7.938 kB / 0.523 GB, free: 420 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.0023, allocations: 7.922 kB / 0.523 GB, free: 412 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.538e-05/0.002386, allocations: 20.73 kB / 0.523 GB, free: 392 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.002387, allocations: 0 / 0.523 GB, free: 392 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002388, allocations: 1.406 kB / 0.523 GB, free: 392 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.002391, allocations: 0 / 0.523 GB, free: 392 kB / 490.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.0002596/0.002651, allocations: 368.6 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.002682, allocations: 17.36 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.002704, allocations: 0.9375 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.002812, allocations: 125.3 kB / 0.5235 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.002819, allocations: 384 / 0.5235 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-06/0.002824, allocations: 5.719 kB / 0.5235 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.404e-05/0.002878, allocations: 30.25 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.002884, allocations: 192 / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-06/0.002889, allocations: 3.031 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.002911, allocations: 8.125 kB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-06/0.002919, allocations: 3.938 kB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.101e-05/0.003, allocations: 101.3 kB / 0.5237 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.021e-05/0.00303, allocations: 27.06 kB / 0.5237 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.003044, allocations: 19.73 kB / 0.5237 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.003055, allocations: 0 / 0.5237 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.00307, allocations: 33.95 kB / 0.5237 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.003071, allocations: 0.9688 kB / 0.5237 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 8.076e-05/0.003152, allocations: 37.64 kB / 0.5238 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.003175, allocations: 53 kB / 0.5238 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/0.003249, allocations: 173.9 kB / 0.524 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002984/0.003547, allocations: 25.7 kB / 0.524 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.003583, allocations: 134.9 kB / 0.5241 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.003602, allocations: 4.891 kB / 0.5242 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.003623, allocations: 19.38 kB / 0.5242 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.003721, allocations: 0.4883 MB / 0.5246 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-06/0.003728, allocations: 1.406 kB / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-06/0.003733, allocations: 4 kB / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.79e-05/0.003751, allocations: 8.844 kB / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.003752, allocations: 0 / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.169e-05/0.003794, allocations: 45.62 kB / 0.5247 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.003805, allocations: 6.406 kB / 0.5247 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.003808, allocations: 0 / 0.5247 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.003817, allocations: 9.219 kB / 0.5247 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.436e-05/0.003851, allocations: 0 / 0.5247 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.003853, allocations: 0 / 0.5247 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-06/0.003861, allocations: 7.188 kB / 0.5247 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.003865, allocations: 0 / 0.5247 GB, free: 14.46 MB / 0.4948 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 5.391e-05/0.003919, allocations: 156.6 kB / 0.5249 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.003925, allocations: 3.953 kB / 0.5249 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.003981, allocations: 48.69 kB / 0.5249 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.003982, allocations: 0 / 0.5249 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.003984, allocations: 0 / 0.5249 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.003986, allocations: 0 / 0.5249 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.564e-05/0.004042, allocations: 112 kB / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.004042, allocations: 0 / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-06/0.004048, allocations: 0 / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-07/0.004049, allocations: 4 kB / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-06/0.004052, allocations: 0 / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004052, allocations: 0 / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.004053, allocations: 0 / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.793e-05/0.004101, allocations: 69.92 kB / 0.5251 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.004109, allocations: 7.938 kB / 0.5251 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.004118, allocations: 4 kB / 0.5251 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-06/0.004122, allocations: 0 / 0.5251 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.004133, allocations: 4.438 kB / 0.5251 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.004135, allocations: 0 / 0.5251 GB, free: 14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.004171, allocations: 133.4 kB / 0.5252 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004171, allocations: 0 / 0.5252 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001188/0.00429, allocations: 11.94 kB / 0.5253 GB, free: 13.86 MB / 0.4948 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.0001236/0.004413, allocations: 120 kB / 0.5254 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.861e-05/0.004462, allocations: 15.67 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.004463, allocations: 0 / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-06/0.00447, allocations: 13.75 kB / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.075e-05/0.004561, allocations: 5.766 kB / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001672/0.004728, allocations: 126.1 kB / 0.5255 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.387e-05/0.004752, allocations: 55.36 kB / 0.5256 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.196e-05/0.004764, allocations: 1.031 kB / 0.5256 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.004791, allocations: 70.2 kB / 0.5256 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.004791, allocations: 0 / 0.5256 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.001735/0.006526, allocations: 0.5633 MB / 0.5262 GB, free: 12.88 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8100581471808255]