Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 115.1 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 187.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.831/0.831, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 62.31 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1522, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.06549/0.2177, allocations: 61.15 MB / 0.72 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01855/0.2363, allocations: 11.97 MB / 0.7317 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.2387, allocations: 59.62 kB / 0.7318 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.2409, allocations: 0.6948 MB / 0.7325 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005582/0.2466, allocations: 2.064 MB / 0.7345 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.2499, allocations: 1.217 MB / 0.7357 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004625/0.2546, allocations: 3.087 MB / 0.7387 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.2565, allocations: 1.088 MB / 0.7397 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004151/0.2607, allocations: 1.376 MB / 0.7411 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.2626, allocations: 0.8906 MB / 0.742 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003754/0.263, allocations: 112 kB / 0.7421 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/0.2668, allocations: 1.447 MB / 0.7435 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004934/0.2673, allocations: 298.8 kB / 0.7438 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.2687, allocations: 0.6919 MB / 0.7444 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.2732, allocations: 2.302 MB / 0.7467 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2733, allocations: 4 kB / 0.7467 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2733, allocations: 0 / 0.7467 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.643e-05/0.2734, allocations: 0 / 0.7467 GB, free: 1.543 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.3305/0.6039, allocations: 1.73 MB / 0.7484 GB, free: 87.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.604, allocations: 8.719 kB / 0.7484 GB, free: 87.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002566/0.6065, allocations: 410.4 kB / 0.7488 GB, free: 87.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/0.6095, allocations: 1.159 MB / 0.7499 GB, free: 86.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-05/0.6096, allocations: 60.16 kB / 0.75 GB, free: 86.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.6098, allocations: 79.44 kB / 0.75 GB, free: 86.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.6121, allocations: 1.001 MB / 0.751 GB, free: 86.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.6121, allocations: 5.375 kB / 0.751 GB, free: 86.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/0.6122, allocations: 32.03 kB / 0.7511 GB, free: 86.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.6122, allocations: 19.31 kB / 0.7511 GB, free: 86.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.6144, allocations: 0.8478 MB / 0.7519 GB, free: 85.89 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006059/0.6205, allocations: 5.218 MB / 0.757 GB, free: 81.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003604/0.6241, allocations: 0.7883 MB / 0.7578 GB, free: 81.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/0.625, allocations: 287.8 kB / 0.758 GB, free: 81.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/0.6255, allocations: 0.9086 MB / 0.7589 GB, free: 80.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.6255, allocations: 38.09 kB / 0.759 GB, free: 80.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 5.01e-06/0.6256, allocations: 2.375 kB / 0.759 GB, free: 80.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007736/0.6333, allocations: 1.694 MB / 0.7606 GB, free: 80.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.6334, allocations: 55.91 kB / 0.7607 GB, free: 80.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.6357, allocations: 1.076 MB / 0.7617 GB, free: 79.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-05/0.6358, allocations: 33.48 kB / 0.7618 GB, free: 79.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.6362, allocations: 0.5378 MB / 0.7623 GB, free: 79.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.6363, allocations: 152 kB / 0.7624 GB, free: 78.99 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.6365, allocations: 138.8 kB / 0.7626 GB, free: 78.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.568e-05/0.6366, allocations: 327.6 kB / 0.7629 GB, free: 78.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008756/0.6375, allocations: 305.9 kB / 0.7632 GB, free: 78.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009994/0.6385, allocations: 0.5258 MB / 0.7637 GB, free: 78.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.6401, allocations: 0.7176 MB / 0.7644 GB, free: 77.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6402, allocations: 1.688 kB / 0.7644 GB, free: 77.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002761/0.6429, allocations: 1.011 MB / 0.7654 GB, free: 77.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.643, allocations: 6.875 kB / 0.7654 GB, free: 77.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.643, allocations: 5.5 kB / 0.7654 GB, free: 77.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.6442, allocations: 312.9 kB / 0.7657 GB, free: 77.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.6448, allocations: 132.2 kB / 0.7658 GB, free: 77.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.6462, allocations: 0.8961 MB / 0.7667 GB, free: 76.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.6475, allocations: 154.9 kB / 0.7668 GB, free: 76.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/0.6476, allocations: 34.92 kB / 0.7669 GB, free: 76.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001206/0.6488, allocations: 0.5056 MB / 0.7674 GB, free: 76.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009788/0.6498, allocations: 0.5272 MB / 0.7679 GB, free: 75.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001657/0.6514, allocations: 0.7013 MB / 0.7686 GB, free: 75.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/0.6514, allocations: 4.453 kB / 0.7686 GB, free: 75.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002701/0.6542, allocations: 0.9983 MB / 0.7695 GB, free: 75.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.6542, allocations: 8.594 kB / 0.7695 GB, free: 75.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6542, allocations: 9.562 kB / 0.7696 GB, free: 75.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009857/0.6552, allocations: 298.6 kB / 0.7698 GB, free: 75.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.6557, allocations: 135.6 kB / 0.77 GB, free: 75.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.6569, allocations: 0.8998 MB / 0.7709 GB, free: 74.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.6581, allocations: 125.1 kB / 0.771 GB, free: 74.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.6581, allocations: 31.06 kB / 0.771 GB, free: 74.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.6584, allocations: 224.2 kB / 0.7712 GB, free: 74.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.6586, allocations: 115.5 kB / 0.7713 GB, free: 74.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.6606, allocations: 0.9127 MB / 0.7722 GB, free: 73.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.6607, allocations: 3.984 kB / 0.7722 GB, free: 73.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6607, allocations: 1.094 kB / 0.7722 GB, free: 73.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.661, allocations: 256.7 kB / 0.7725 GB, free: 73.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.6612, allocations: 14.55 kB / 0.7725 GB, free: 73.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007414/0.6619, allocations: 72.2 kB / 0.7725 GB, free: 73.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.662, allocations: 30.05 kB / 0.7726 GB, free: 73.27 MB / 0.5762 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002466/0.6644, allocations: 0.7617 MB / 0.7733 GB, free: 72.87 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.Chillers.Examples.Carnot_TEva could not be translated