Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001684/0.001684, allocations: 93.47 kB / 19.44 MB, free: 340 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.001962/0.001962, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.53/1.53, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.328/1.328, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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 178] 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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.019e-05, allocations: 6.25 kB / 0.5196 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003192/0.003222, allocations: 1.514 MB / 0.5211 GB, free: 1.078 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.005197, allocations: 1.235 MB / 0.5223 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.733e-05/0.005264, allocations: 3.938 kB / 0.5223 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.005479, allocations: 15.86 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.00572, allocations: 43.72 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.005915, allocations: 49.11 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.006157, allocations: 152.3 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.006313, allocations: 37.14 kB / 0.5226 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.006487, allocations: 112.9 kB / 0.5227 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.006668, allocations: 39.89 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.006719, allocations: 12 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.006811, allocations: 32.64 kB / 0.5228 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.472e-05/0.006906, allocations: 47.83 kB / 0.5228 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.811e-05/0.006994, allocations: 48.45 kB / 0.5229 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.007365, allocations: 224.3 kB / 0.5231 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.007369, allocations: 0 / 0.5231 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.007371, allocations: 0 / 0.5231 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.007377, allocations: 0.6562 kB / 0.5231 GB, free: 15.04 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.000817/0.008194, allocations: 0.5079 MB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.008236, allocations: 12.03 kB / 0.5236 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.008342, allocations: 32 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.008716, allocations: 205.2 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/0.008945, allocations: 218.2 kB / 0.524 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.008977, allocations: 8.375 kB / 0.524 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.009381, allocations: 229 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.00939, allocations: 192 / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.009414, allocations: 4.125 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.009449, allocations: 15.98 kB / 0.5243 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.818e-05/0.009527, allocations: 28.8 kB / 0.5243 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01056, allocations: 432.9 kB / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.594e-05/0.01066, allocations: 44.58 kB / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/0.0107, allocations: 19.69 kB / 0.5248 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.01073, allocations: 0 / 0.5248 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.01077, allocations: 37.39 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.01077, allocations: 0.9688 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002903/0.01106, allocations: 89.58 kB / 0.5249 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.01111, allocations: 61.38 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.01146, allocations: 290.9 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.01149, allocations: 25.7 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.01162, allocations: 174.8 kB / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.01166, allocations: 31.73 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.01172, allocations: 35.38 kB / 0.5255 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002805/0.012, allocations: 0.5086 MB / 0.526 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-05/0.01206, allocations: 23.97 kB / 0.526 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.01222, allocations: 128.9 kB / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.01244, allocations: 164.3 kB / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01244, allocations: 0 / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002717/0.01271, allocations: 148 kB / 0.5264 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.01273, allocations: 10.12 kB / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01273, allocations: 0 / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.01275, allocations: 4 kB / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.01286, allocations: 27.92 kB / 0.5264 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.01287, allocations: 4 kB / 0.5265 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.01293, allocations: 11.89 kB / 0.5265 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.01295, allocations: 12.94 kB / 0.5265 GB, free: 11.19 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 0.0002945/0.01325, allocations: 180.4 kB / 0.5266 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.01331, allocations: 20.62 kB / 0.5267 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.01354, allocations: 103.2 kB / 0.5268 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01354, allocations: 0.6562 kB / 0.5268 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01354, allocations: 3.344 kB / 0.5268 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.01355, allocations: 4 kB / 0.5268 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.01381, allocations: 184.5 kB / 0.5269 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01381, allocations: 0 / 0.5269 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.01387, allocations: 19.92 kB / 0.527 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01387, allocations: 0 / 0.527 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01388, allocations: 4 kB / 0.527 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01388, allocations: 0 / 0.527 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01388, allocations: 4 kB / 0.527 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.01415, allocations: 234.8 kB / 0.5272 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.01418, allocations: 15.89 kB / 0.5272 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.0142, allocations: 8 kB / 0.5272 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.0144, allocations: 7.984 kB / 0.5272 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.01442, allocations: 4 kB / 0.5272 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.01446, allocations: 23.91 kB / 0.5273 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001981/0.01465, allocations: 198 kB / 0.5274 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01465, allocations: 0 / 0.5274 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003065/0.01496, allocations: 33.72 kB / 0.5275 GB, free: 10.11 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.0003093/0.01527, allocations: 126.3 kB / 0.5276 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.01545, allocations: 68.45 kB / 0.5277 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01546, allocations: 3.938 kB / 0.5277 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.452e-05/0.01551, allocations: 32.67 kB / 0.5277 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.01583, allocations: 35.59 kB / 0.5277 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.01641, allocations: 282.7 kB / 0.528 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.01654, allocations: 116.3 kB / 0.5281 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.01666, allocations: 40.89 kB / 0.5282 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.01671, allocations: 25.14 kB / 0.5282 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.01671, allocations: 0 / 0.5282 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of Templates: time 0.006704/0.02341, allocations: 2.461 MB / 0.5306 GB, free: 7.035 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.124667568015866]