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.0009966/0.0009966, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009879/0.0009879, allocations: 169 kB / 23.02 MB, free: 1.547 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.9715/0.9715, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.908/0.908, allocations: 154.8 MB / 414.7 MB, free: 480 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 2.215e-06/2.215e-06, allocations: 0 / 0.5205 GB, free: 1.988 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.523e-05/3.744e-05, allocations: 2.312 kB / 0.5205 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002778/0.002815, allocations: 1.533 MB / 0.522 GB, free: 472 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.0045, allocations: 1.253 MB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.852e-05/0.004568, allocations: 0.9375 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.004819, allocations: 15.88 kB / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.00509, allocations: 47.64 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.005267, allocations: 49.77 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000189/0.005456, allocations: 155.5 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.005618, allocations: 35.03 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.005746, allocations: 103.8 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.005881, allocations: 43.89 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.005924, allocations: 12 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.592e-05/0.006, allocations: 29.52 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.006074, allocations: 47.83 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.006145, allocations: 51.83 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.006415, allocations: 179.3 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.006418, allocations: 1.281 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/0.00642, allocations: 0 / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.00643, allocations: 0 / 0.524 GB, free: 14.45 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.000717/0.007147, allocations: 0.5197 MB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.007194, allocations: 12.72 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/0.007276, allocations: 16.84 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.007563, allocations: 218.1 kB / 0.5247 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.007723, allocations: 214.1 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.007751, allocations: 8.375 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.007991, allocations: 193.9 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.008, allocations: 192 / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.008022, allocations: 8.125 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-05/0.008067, allocations: 15.52 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.008157, allocations: 15.98 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.008902, allocations: 427.4 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.517e-05/0.008957, allocations: 27.06 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.008987, allocations: 19.69 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.009018, allocations: 4.547 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.009053, allocations: 41.89 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.009054, allocations: 0 / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002251/0.00928, allocations: 86.33 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.009308, allocations: 52.38 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.009489, allocations: 259.5 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.009509, allocations: 29.7 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.009588, allocations: 172.3 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.009613, allocations: 27.89 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.009656, allocations: 39.36 kB / 0.5263 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.009792, allocations: 0.504 MB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.009819, allocations: 12.7 kB / 0.5268 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.009903, allocations: 127.2 kB / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.01003, allocations: 146.6 kB / 0.5271 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01003, allocations: 4 kB / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001552/0.01018, allocations: 127 kB / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.0102, allocations: 8 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01021, allocations: 4 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.01023, allocations: 0.9375 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/0.01033, allocations: 23.98 kB / 0.5272 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.01034, allocations: 7.938 kB / 0.5272 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.01038, allocations: 12.7 kB / 0.5273 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.01039, allocations: 12 kB / 0.5273 GB, free: 10.75 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 9.379e-05/0.01048, allocations: 165.2 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.01052, allocations: 20.5 kB / 0.5274 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.0107, allocations: 106 kB / 0.5275 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01071, allocations: 0 / 0.5275 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.01072, allocations: 0 / 0.5275 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01072, allocations: 0 / 0.5275 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.0109, allocations: 188.5 kB / 0.5277 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.0109, allocations: 0 / 0.5277 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.01094, allocations: 12 kB / 0.5277 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01095, allocations: 0 / 0.5277 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.01096, allocations: 3.984 kB / 0.5277 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01096, allocations: 3.125 kB / 0.5277 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01096, allocations: 4 kB / 0.5277 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.01115, allocations: 231.7 kB / 0.528 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.01117, allocations: 11.91 kB / 0.528 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.01119, allocations: 4 kB / 0.528 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.0113, allocations: 11.98 kB / 0.528 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.01133, allocations: 3.984 kB / 0.528 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.01135, allocations: 19.08 kB / 0.528 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001162/0.01147, allocations: 181.4 kB / 0.5282 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01147, allocations: 0 / 0.5282 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002294/0.01169, allocations: 35.88 kB / 0.5282 GB, free: 9.711 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.0002605/0.01196, allocations: 125.4 kB / 0.5283 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.01209, allocations: 59.52 kB / 0.5284 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.0121, allocations: 0 / 0.5284 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.728e-05/0.01212, allocations: 27.62 kB / 0.5284 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.01238, allocations: 34.56 kB / 0.5285 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.01284, allocations: 266.7 kB / 0.5287 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.093e-05/0.0129, allocations: 75.33 kB / 0.5288 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.372e-05/0.01299, allocations: 44.88 kB / 0.5288 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.01302, allocations: 16.5 kB / 0.5288 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/0.01302, allocations: 0.5625 kB / 0.5288 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of Templates: time 0.005014/0.01804, allocations: 2.469 MB / 0.5313 GB, free: 6.699 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: 4.069484716746956]