Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.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.000959/0.000959, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.0009257/0.0009257, allocations: 173 kB / 23.36 MB, free: 1.133 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.9048/0.9048, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.75/0.75, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 480 MB, free: 6.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.453e-05, allocations: 2.312 kB / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.001783/0.001798, allocations: 1.403 MB / 481.4 MB, free: 5.543 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.00191, allocations: 35.78 kB / 481.4 MB, free: 5.508 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.001951, allocations: 3.938 kB / 481.4 MB, free: 5.504 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.002108, allocations: 16.67 kB / 481.4 MB, free: 5.488 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.814e-05/0.002207, allocations: 9.203 kB / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.00221, allocations: 0.9062 kB / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.605e-05/0.002266, allocations: 13.02 kB / 481.5 MB, free: 5.473 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.002301, allocations: 4 kB / 481.5 MB, free: 5.469 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.002351, allocations: 15.22 kB / 481.5 MB, free: 5.457 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.002405, allocations: 13.52 kB / 481.5 MB, free: 5.445 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.002427, allocations: 0 / 481.5 MB, free: 5.445 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.311e-05/0.00247, allocations: 11.94 kB / 481.5 MB, free: 5.434 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.00251, allocations: 5.516 kB / 481.5 MB, free: 5.43 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.002526, allocations: 10.52 kB / 481.5 MB, free: 5.422 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.211e-05/0.002608, allocations: 17.61 kB / 481.5 MB, free: 5.406 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-06/0.002609, allocations: 1.281 kB / 481.5 MB, free: 5.406 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00261, allocations: 0 / 481.5 MB, free: 5.406 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.002613, allocations: 0 / 481.5 MB, free: 5.406 MB / 442.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.0002168/0.00283, allocations: 237.4 kB / 481.8 MB, free: 5.152 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.00286, allocations: 8.719 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.998e-05/0.00288, allocations: 1.938 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.002988, allocations: 139.3 kB / 481.9 MB, free: 4.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.002996, allocations: 384 / 481.9 MB, free: 4.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.003004, allocations: 0.9062 kB / 481.9 MB, free: 4.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.846e-05/0.003062, allocations: 35.58 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003069, allocations: 192 / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-06/0.003075, allocations: 384 / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.003095, allocations: 384 / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.886e-06/0.003104, allocations: 8.531 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.553e-05/0.003169, allocations: 64.91 kB / 482 MB, free: 4.855 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.247e-05/0.003202, allocations: 18.61 kB / 482 MB, free: 4.828 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.003215, allocations: 8.844 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.003227, allocations: 1.062 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.003246, allocations: 30.56 kB / 482.1 MB, free: 4.777 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.003247, allocations: 0.8438 kB / 482.1 MB, free: 4.777 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 7.592e-05/0.003323, allocations: 38.8 kB / 482.1 MB, free: 4.734 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.003352, allocations: 55.41 kB / 482.2 MB, free: 4.668 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.003416, allocations: 119.2 kB / 482.3 MB, free: 4.539 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.003425, allocations: 26.91 kB / 482.3 MB, free: 4.508 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.802e-05/0.003443, allocations: 84.12 kB / 482.4 MB, free: 4.422 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.003458, allocations: 1.406 kB / 482.4 MB, free: 4.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.003479, allocations: 17.7 kB / 482.4 MB, free: 4.398 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.003546, allocations: 315.3 kB / 482.7 MB, free: 4.082 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.003549, allocations: 0 / 482.7 MB, free: 4.082 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.003555, allocations: 4.719 kB / 482.7 MB, free: 4.078 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.734e-05/0.003572, allocations: 13.19 kB / 482.7 MB, free: 4.062 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.003573, allocations: 0 / 482.7 MB, free: 4.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.656e-05/0.00361, allocations: 42.67 kB / 482.8 MB, free: 4.016 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.003619, allocations: 4.844 kB / 482.8 MB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.003623, allocations: 0 / 482.8 MB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.003632, allocations: 0 / 482.8 MB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.4e-05/0.003666, allocations: 5 kB / 482.8 MB, free: 4.008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.003668, allocations: 0 / 482.8 MB, free: 4.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-06/0.003675, allocations: 0.5 kB / 482.8 MB, free: 4.008 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.003681, allocations: 0 / 482.8 MB, free: 4.008 MB / 442.7 MB 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 6.097e-05/0.003742, allocations: 117.2 kB / 482.9 MB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.003749, allocations: 10.36 kB / 482.9 MB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.003807, allocations: 45.77 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.003809, allocations: 2.625 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.00381, allocations: 0.7188 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.003812, allocations: 0.625 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.778e-05/0.00386, allocations: 70.45 kB / 483 MB, free: 3.738 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.003861, allocations: 0.625 kB / 483 MB, free: 3.738 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-06/0.003867, allocations: 4 kB / 483 MB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.003868, allocations: 0.625 kB / 483 MB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-06/0.003872, allocations: 0.625 kB / 483 MB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.003873, allocations: 0.6562 kB / 483 MB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.003874, allocations: 0.9375 kB / 483 MB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.004211, allocations: 64.52 kB / 483.1 MB, free: 3.652 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.004218, allocations: 7.891 kB / 483.1 MB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.004227, allocations: 4.938 kB / 483.1 MB, free: 3.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.029e-06/0.004232, allocations: 0 / 483.1 MB, free: 3.641 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-06/0.004241, allocations: 2.875 kB / 483.1 MB, free: 3.641 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.004243, allocations: 0 / 483.1 MB, free: 3.641 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.908e-05/0.004262, allocations: 28.81 kB / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004262, allocations: 0 / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of remove unused functions: time 9.47e-05/0.004357, allocations: 4 kB / 483.2 MB, free: 3.605 MB / 442.7 MB 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.0001154/0.004472, allocations: 90.89 kB / 483.2 MB, free: 3.516 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 3.765e-05/0.00451, allocations: 12.84 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.004512, allocations: 0.5938 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.642e-06/0.004518, allocations: 10.61 kB / 483.3 MB, free: 3.488 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.134e-05/0.00457, allocations: 4.594 kB / 483.3 MB, free: 3.484 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001727/0.004742, allocations: 117.3 kB / 483.4 MB, free: 3.344 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.133e-05/0.004764, allocations: 53.02 kB / 483.4 MB, free: 3.273 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.169e-05/0.004775, allocations: 7.984 kB / 483.4 MB, free: 3.266 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.0048, allocations: 52.58 kB / 483.5 MB, free: 3.215 MB / 442.7 MB Notification: Performance of SimCode: time 3.1e-07/0.0048, allocations: 0 / 483.5 MB, free: 3.215 MB / 442.7 MB Notification: Performance of Templates: time 0.001744/0.006545, allocations: 0.5425 MB / 484 MB, free: 2.727 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & ./IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.474287685006857]