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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 189.2 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.214/1.214, allocations: 177.9 MB / 484.2 MB, free: 5.391 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002046/0.002046, allocations: 60.23 kB / 0.674 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6472/0.6492, allocations: 95.17 MB / 0.7669 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003315/0.6525, allocations: 1.498 MB / 0.7684 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.6543, allocations: 1.206 MB / 0.7695 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.6544, allocations: 1.344 kB / 0.7695 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.6546, allocations: 14.44 kB / 0.7696 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.6548, allocations: 42.92 kB / 0.7696 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.655, allocations: 71.36 kB / 0.7697 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.6552, allocations: 150.9 kB / 0.7698 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.6554, allocations: 34.09 kB / 0.7698 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.6555, allocations: 84.95 kB / 0.7699 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.6557, allocations: 56.61 kB / 0.77 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.6558, allocations: 10.44 kB / 0.77 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.103e-05/0.6559, allocations: 27.38 kB / 0.77 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.763e-05/0.656, allocations: 54.92 kB / 0.7701 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.6561, allocations: 74.62 kB / 0.7701 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.6564, allocations: 196.6 kB / 0.7703 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6564, allocations: 4 kB / 0.7703 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6564, allocations: 0 / 0.7703 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.6564, allocations: 0.6562 kB / 0.7703 GB, free: 6.051 MB / 0.5762 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.000761/0.6572, allocations: 425 kB / 0.7707 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6572, allocations: 9.438 kB / 0.7707 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.016e-05/0.6573, allocations: 18.12 kB / 0.7708 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.6576, allocations: 202.2 kB / 0.771 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.6578, allocations: 124.8 kB / 0.7711 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.6578, allocations: 8.062 kB / 0.7711 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.6582, allocations: 158.8 kB / 0.7712 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.6582, allocations: 1.344 kB / 0.7712 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.6582, allocations: 6.5 kB / 0.7712 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.6582, allocations: 6.766 kB / 0.7712 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.6583, allocations: 45.66 kB / 0.7713 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.6595, allocations: 433.5 kB / 0.7717 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.009e-05/0.6596, allocations: 33.39 kB / 0.7717 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.6596, allocations: 22.64 kB / 0.7718 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.6597, allocations: 5.172 kB / 0.7718 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.6597, allocations: 39.88 kB / 0.7718 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.6597, allocations: 0 / 0.7718 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003107/0.66, allocations: 105 kB / 0.7719 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.66, allocations: 52.75 kB / 0.7719 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.6603, allocations: 216.9 kB / 0.7722 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.6603, allocations: 26.39 kB / 0.7722 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.6604, allocations: 133.5 kB / 0.7723 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.6604, allocations: 30.12 kB / 0.7723 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.6604, allocations: 31.17 kB / 0.7724 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/0.6605, allocations: 323.1 kB / 0.7727 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/0.6606, allocations: 28.5 kB / 0.7727 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.581e-05/0.6607, allocations: 106.1 kB / 0.7728 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.6608, allocations: 137.2 kB / 0.7729 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6608, allocations: 1.562 kB / 0.7729 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002713/0.6611, allocations: 154.4 kB / 0.7731 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.6611, allocations: 9.562 kB / 0.7731 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6611, allocations: 2.594 kB / 0.7731 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.6612, allocations: 3.406 kB / 0.7731 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.6613, allocations: 27.72 kB / 0.7731 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.6613, allocations: 6.469 kB / 0.7731 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.6614, allocations: 19.39 kB / 0.7731 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.6614, allocations: 12.97 kB / 0.7732 GB, free: 3.805 MB / 0.5762 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.0001217/0.6615, allocations: 142.2 kB / 0.7733 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.6616, allocations: 16.56 kB / 0.7733 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.6618, allocations: 117.7 kB / 0.7734 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6618, allocations: 4.953 kB / 0.7734 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.6618, allocations: 3.938 kB / 0.7734 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.6618, allocations: 2.141 kB / 0.7734 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.662, allocations: 208.4 kB / 0.7736 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.662, allocations: 1.219 kB / 0.7736 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.6621, allocations: 21.14 kB / 0.7737 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6621, allocations: 0 / 0.7737 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.6621, allocations: 5.25 kB / 0.7737 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.6621, allocations: 1.219 kB / 0.7737 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6621, allocations: 3.938 kB / 0.7737 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.6623, allocations: 189.2 kB / 0.7738 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.6623, allocations: 11.38 kB / 0.7739 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.6623, allocations: 1.406 kB / 0.7739 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.6626, allocations: 28.55 kB / 0.7739 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.6626, allocations: 9.703 kB / 0.7739 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.6627, allocations: 10.91 kB / 0.7739 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001482/0.6628, allocations: 163.9 kB / 0.7741 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6628, allocations: 0 / 0.7741 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003102/0.6631, allocations: 31.52 kB / 0.7741 GB, free: 3.102 MB / 0.5762 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.0002649/0.6634, allocations: 118.7 kB / 0.7742 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.6636, allocations: 68.66 kB / 0.7743 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.6636, allocations: 0.75 kB / 0.7743 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.6636, allocations: 24.7 kB / 0.7743 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.664, allocations: 24.09 kB / 0.7743 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.6646, allocations: 297.7 kB / 0.7746 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.6648, allocations: 0.7342 MB / 0.7753 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.6649, allocations: 50.05 kB / 0.7754 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.665, allocations: 21.92 kB / 0.7754 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.665, allocations: 4 kB / 0.7754 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of Templates: time 0.007736/0.6727, allocations: 2.428 MB / 0.7778 GB, free: 1.824 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.920512981712818] Failed to read output from testmodel.py, exit status != 0: 0.6812429688870907 0.697813297 0.037786669 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdca31017b0>