Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001095/0.001095, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009759/0.0009759, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9658/0.9658, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.7782/0.7782, allocations: 154.9 MB / 415.1 MB, free: 244 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.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.973e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001936/0.001955, allocations: 1.519 MB / 0.5226 GB, free: 8 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.003034, allocations: 1.255 MB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.003087, allocations: 4 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.003253, allocations: 19.8 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.003415, allocations: 39.72 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.003536, allocations: 61.84 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.003674, allocations: 147.5 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003788, allocations: 42.72 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.003884, allocations: 103.8 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.00398, allocations: 37.88 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.004008, allocations: 12 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.321e-05/0.004061, allocations: 32.78 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.004118, allocations: 47.83 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.004165, allocations: 57.11 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.004339, allocations: 175.4 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.00434, allocations: 0 / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.22e-07/0.004341, allocations: 1.344 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004345, allocations: 0 / 0.5246 GB, free: 13.99 MB / 0.4948 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.0004419/0.004787, allocations: 0.5191 MB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.004822, allocations: 12.81 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.004867, allocations: 20.84 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.005049, allocations: 206.4 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.005153, allocations: 214.2 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.005174, allocations: 16.36 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.005331, allocations: 184.9 kB / 0.5257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.005337, allocations: 2.438 kB / 0.5257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.005357, allocations: 8.125 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.005379, allocations: 7.984 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.43e-05/0.005404, allocations: 19.97 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.005838, allocations: 382 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.902e-05/0.005877, allocations: 31.05 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.005895, allocations: 15.69 kB / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.005922, allocations: 14.78 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.005945, allocations: 37.39 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.005946, allocations: 0.9375 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001522/0.006098, allocations: 85.89 kB / 0.5263 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.006119, allocations: 51.41 kB / 0.5263 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.006258, allocations: 260.3 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.006274, allocations: 29.7 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.235e-05/0.006347, allocations: 167.3 kB / 0.5268 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.006368, allocations: 40.55 kB / 0.5268 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.006404, allocations: 35.36 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.006523, allocations: 0.5052 MB / 0.5273 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.00654, allocations: 7.984 kB / 0.5273 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.089e-05/0.006601, allocations: 116.2 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.264e-05/0.006694, allocations: 154.2 kB / 0.5276 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006696, allocations: 3.938 kB / 0.5276 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001162/0.006812, allocations: 120.2 kB / 0.5277 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.006823, allocations: 8 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.006828, allocations: 4 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.006841, allocations: 4 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-05/0.006898, allocations: 23.98 kB / 0.5277 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.006904, allocations: 12 kB / 0.5278 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.006938, allocations: 15.89 kB / 0.5278 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.006945, allocations: 4.625 kB / 0.5278 GB, free: 10.35 MB / 0.4948 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 7.338e-05/0.007019, allocations: 165.9 kB / 0.5279 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.00705, allocations: 19.91 kB / 0.528 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.007161, allocations: 94.94 kB / 0.528 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007163, allocations: 2.625 kB / 0.528 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.007166, allocations: 3.984 kB / 0.528 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.007168, allocations: 4 kB / 0.5281 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.007284, allocations: 141.1 kB / 0.5282 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007284, allocations: 0 / 0.5282 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.007314, allocations: 15.94 kB / 0.5282 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.007316, allocations: 0 / 0.5282 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.007322, allocations: 10.73 kB / 0.5282 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.007323, allocations: 0 / 0.5282 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007323, allocations: 0 / 0.5282 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.007433, allocations: 227.8 kB / 0.5284 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.007448, allocations: 15.84 kB / 0.5284 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/0.007458, allocations: 3.984 kB / 0.5284 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.007541, allocations: 12 kB / 0.5285 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.007553, allocations: 9.016 kB / 0.5285 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.007566, allocations: 7.984 kB / 0.5285 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.769e-05/0.007634, allocations: 177.4 kB / 0.5286 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007634, allocations: 1.188 kB / 0.5286 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001834/0.007817, allocations: 31.94 kB / 0.5287 GB, free: 9.375 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 (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.0001655/0.007983, allocations: 121.2 kB / 0.5288 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.937e-05/0.008072, allocations: 61.36 kB / 0.5289 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.008074, allocations: 1.5 kB / 0.5289 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.009e-05/0.008094, allocations: 23.62 kB / 0.5289 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.008301, allocations: 41.98 kB / 0.5289 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.008597, allocations: 263.3 kB / 0.5292 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.008638, allocations: 79.95 kB / 0.5292 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.001e-05/0.008688, allocations: 34 kB / 0.5293 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.00886, allocations: 150 kB / 0.5294 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.00886, allocations: 0 / 0.5294 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of Templates: time 0.003771/0.01263, allocations: 2.723 MB / 0.5321 GB, free: 6.004 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.742306134197861]