Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 109 kB / 16.41 MB, free: 6.465 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.001077/0.001077, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7994/0.7994, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.33 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1489, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.06194/0.2109, allocations: 61.17 MB / 0.7201 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01566/0.2266, allocations: 11.98 MB / 0.7318 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.2287, allocations: 63.56 kB / 0.7318 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.2305, allocations: 0.6948 MB / 0.7325 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005598/0.2361, allocations: 2.06 MB / 0.7345 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.239, allocations: 1.213 MB / 0.7357 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004158/0.2432, allocations: 3.093 MB / 0.7387 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.245, allocations: 1.092 MB / 0.7398 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.2488, allocations: 1.372 MB / 0.7411 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.2503, allocations: 0.8984 MB / 0.742 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.2505, allocations: 116 kB / 0.7421 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.2535, allocations: 1.478 MB / 0.7436 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002745/0.2538, allocations: 294.8 kB / 0.7439 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007892/0.2546, allocations: 0.6997 MB / 0.7445 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.258, allocations: 2.336 MB / 0.7468 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.258, allocations: 0 / 0.7468 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.387e-06/0.258, allocations: 0 / 0.7468 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.258, allocations: 3.938 kB / 0.7468 GB, free: 1.402 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.3602/0.6182, allocations: 1.778 MB / 0.7486 GB, free: 86.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.6182, allocations: 9.203 kB / 0.7486 GB, free: 86.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.6202, allocations: 351.7 kB / 0.7489 GB, free: 86.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/0.623, allocations: 1.168 MB / 0.75 GB, free: 86.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.855e-05/0.6232, allocations: 60.94 kB / 0.7501 GB, free: 86.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.6234, allocations: 80.78 kB / 0.7502 GB, free: 86.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.6254, allocations: 0.9766 MB / 0.7511 GB, free: 85.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.6254, allocations: 9.156 kB / 0.7511 GB, free: 85.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.6255, allocations: 36.2 kB / 0.7512 GB, free: 85.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.6255, allocations: 22.06 kB / 0.7512 GB, free: 85.86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.6275, allocations: 0.7948 MB / 0.752 GB, free: 85.6 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.005884/0.6334, allocations: 5.145 MB / 0.757 GB, free: 81.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.6349, allocations: 0.5739 MB / 0.7576 GB, free: 81.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005985/0.6355, allocations: 263.5 kB / 0.7578 GB, free: 81.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.6366, allocations: 1.369 MB / 0.7592 GB, free: 79.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.6367, allocations: 40.81 kB / 0.7592 GB, free: 79.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.284e-06/0.6367, allocations: 0 / 0.7592 GB, free: 79.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.005842/0.6425, allocations: 1.49 MB / 0.7606 GB, free: 79.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.6426, allocations: 56.62 kB / 0.7607 GB, free: 79.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.645, allocations: 1.087 MB / 0.7618 GB, free: 78.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/0.645, allocations: 33.98 kB / 0.7618 GB, free: 78.83 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.6455, allocations: 0.5348 MB / 0.7623 GB, free: 78.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.6456, allocations: 162.6 kB / 0.7625 GB, free: 78.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.6459, allocations: 135.9 kB / 0.7626 GB, free: 78.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.6459, allocations: 330.2 kB / 0.7629 GB, free: 77.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007478/0.6467, allocations: 282.7 kB / 0.7632 GB, free: 77.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008687/0.6476, allocations: 499.6 kB / 0.7637 GB, free: 77.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.6491, allocations: 0.6566 MB / 0.7643 GB, free: 77.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.6491, allocations: 1.719 kB / 0.7643 GB, free: 77.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002866/0.652, allocations: 0.9566 MB / 0.7652 GB, free: 76.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.652, allocations: 6.406 kB / 0.7652 GB, free: 76.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.652, allocations: 8.906 kB / 0.7653 GB, free: 76.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.6533, allocations: 306.7 kB / 0.7655 GB, free: 76.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.6538, allocations: 124.8 kB / 0.7657 GB, free: 76.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.6551, allocations: 0.9105 MB / 0.7666 GB, free: 75.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.6562, allocations: 138.9 kB / 0.7667 GB, free: 75.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/0.6563, allocations: 30.02 kB / 0.7667 GB, free: 75.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009857/0.6573, allocations: 492.6 kB / 0.7672 GB, free: 75.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008455/0.6582, allocations: 0.4884 MB / 0.7677 GB, free: 75.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001285/0.6595, allocations: 0.6433 MB / 0.7683 GB, free: 74.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.785e-06/0.6595, allocations: 1.094 kB / 0.7683 GB, free: 74.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00272/0.6622, allocations: 0.9568 MB / 0.7692 GB, free: 74.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.6622, allocations: 7.953 kB / 0.7692 GB, free: 74.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.6623, allocations: 4.344 kB / 0.7692 GB, free: 74.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.6634, allocations: 309.9 kB / 0.7695 GB, free: 74.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.6639, allocations: 116.3 kB / 0.7696 GB, free: 74.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.6652, allocations: 0.8949 MB / 0.7705 GB, free: 73.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.6664, allocations: 124.5 kB / 0.7706 GB, free: 73.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/0.6665, allocations: 37.84 kB / 0.7707 GB, free: 73.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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.0002131/0.6667, allocations: 216.1 kB / 0.7709 GB, free: 73.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.667, allocations: 118 kB / 0.771 GB, free: 73.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.6692, allocations: 0.8954 MB / 0.7719 GB, free: 73.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6692, allocations: 5.172 kB / 0.7719 GB, free: 73.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.6692, allocations: 0 / 0.7719 GB, free: 73.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/0.6697, allocations: 262.8 kB / 0.7721 GB, free: 72.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.6699, allocations: 11 kB / 0.7721 GB, free: 72.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007282/0.6706, allocations: 57.86 kB / 0.7722 GB, free: 72.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.6707, allocations: 33.91 kB / 0.7722 GB, free: 72.95 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.002338/0.6731, allocations: 0.7405 MB / 0.7729 GB, free: 72.67 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL could not be translated