Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00174/0.00174, allocations: 93.47 kB / 19.44 MB, free: 336 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.00193/0.00193, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 178] 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 1.344/1.344, allocations: 154.8 MB / 414.4 MB, free: 392 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 178] 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5198 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.421e-05/3.606e-05, allocations: 5.812 kB / 0.5198 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003822/0.003859, allocations: 1.394 MB / 0.5212 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.004065, allocations: 32.55 kB / 0.5212 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.004122, allocations: 3.938 kB / 0.5212 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.004343, allocations: 21.19 kB / 0.5212 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.004481, allocations: 9.562 kB / 0.5213 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.729e-06/0.004486, allocations: 0 / 0.5213 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.66e-05/0.004583, allocations: 29.25 kB / 0.5213 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.004622, allocations: 0 / 0.5213 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.004692, allocations: 11.98 kB / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.004753, allocations: 4.875 kB / 0.5213 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.004772, allocations: 0 / 0.5213 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.929e-05/0.004841, allocations: 17.2 kB / 0.5213 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.004891, allocations: 7.938 kB / 0.5213 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.004915, allocations: 4 kB / 0.5213 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.005061, allocations: 36.45 kB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.005063, allocations: 0 / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005064, allocations: 1.812 kB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.005069, allocations: 0 / 0.5214 GB, free: 0.7227 MB / 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.0005456/0.005615, allocations: 364.2 kB / 0.5217 GB, free: 336 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.005667, allocations: 8.031 kB / 0.5217 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.005716, allocations: 0.9375 kB / 0.5217 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.005956, allocations: 126.2 kB / 0.5218 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.005969, allocations: 384 / 0.5218 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.005977, allocations: 384 / 0.5218 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.006087, allocations: 30.27 kB / 0.5219 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.0061, allocations: 5.406 kB / 0.5219 GB, free: 136 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.00611, allocations: 384 / 0.5219 GB, free: 136 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.006139, allocations: 4.359 kB / 0.5219 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.006164, allocations: 4.562 kB / 0.5219 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.006418, allocations: 120.7 kB / 0.522 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.541e-05/0.006503, allocations: 23.81 kB / 0.522 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.006536, allocations: 11.75 kB / 0.522 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.006563, allocations: 1.469 kB / 0.522 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.006607, allocations: 33.39 kB / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.006608, allocations: 3.938 kB / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001989/0.006807, allocations: 46.75 kB / 0.5221 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.006862, allocations: 51.41 kB / 0.5222 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.007072, allocations: 181.9 kB / 0.5223 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.007097, allocations: 29.33 kB / 0.5224 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.0072, allocations: 134.9 kB / 0.5225 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.00723, allocations: 11.95 kB / 0.5225 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.007288, allocations: 15.38 kB / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003341/0.007622, allocations: 0.4923 MB / 0.523 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.007635, allocations: 0 / 0.523 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.007642, allocations: 0 / 0.523 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/0.00768, allocations: 15.62 kB / 0.523 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007682, allocations: 0.5625 kB / 0.523 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.73e-05/0.007769, allocations: 38.27 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.007789, allocations: 4 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.007793, allocations: 0.9688 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.00781, allocations: 0 / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.727e-05/0.007867, allocations: 9.453 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.007873, allocations: 0 / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.007893, allocations: 3.938 kB / 0.5231 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.007899, allocations: 0 / 0.5231 GB, free: 14.78 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 0.0001416/0.008041, allocations: 157.2 kB / 0.5232 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.008057, allocations: 5.953 kB / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.008191, allocations: 49.09 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.008193, allocations: 0 / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008196, allocations: 0 / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.008203, allocations: 3.938 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.008357, allocations: 123.4 kB / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.008361, allocations: 3.984 kB / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.008375, allocations: 0 / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008377, allocations: 0 / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.008383, allocations: 0 / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008385, allocations: 320 / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008386, allocations: 4 kB / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.008517, allocations: 77.98 kB / 0.5235 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.008534, allocations: 7.938 kB / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.008549, allocations: 0 / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.008563, allocations: 3.938 kB / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.008588, allocations: 4 kB / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.008591, allocations: 0.9375 kB / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001235/0.008714, allocations: 139.2 kB / 0.5236 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008714, allocations: 0.9062 kB / 0.5236 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002967/0.009011, allocations: 7.938 kB / 0.5236 GB, free: 14.14 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.000321/0.009332, allocations: 107.4 kB / 0.5237 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.009438, allocations: 15.69 kB / 0.5237 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.00944, allocations: 0 / 0.5237 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.009468, allocations: 15.67 kB / 0.5238 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.00968, allocations: 10.16 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.01008, allocations: 117.4 kB / 0.5239 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.762e-05/0.01016, allocations: 59.36 kB / 0.5239 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.0102, allocations: 7.984 kB / 0.524 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.01022, allocations: 8.5 kB / 0.524 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of SimCode: time 4.7e-07/0.01022, allocations: 0 / 0.524 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.00424/0.01446, allocations: 0.5226 MB / 0.5245 GB, free: 13.27 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.202955723972991]