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.001366/0.001371, allocations: 114.3 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.001221/0.001222, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8058/0.8058, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 65.16 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1505, allocations: 80.21 MB / 0.6604 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.0599/0.2104, allocations: 61.17 MB / 0.7201 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.2272, allocations: 11.97 MB / 0.7318 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.2291, allocations: 59.62 kB / 0.7318 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.2311, allocations: 0.7025 MB / 0.7325 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005516/0.2367, allocations: 2.068 MB / 0.7345 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.2398, allocations: 1.212 MB / 0.7357 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003935/0.2437, allocations: 3.083 MB / 0.7387 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.2454, allocations: 1.092 MB / 0.7398 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.2483, allocations: 1.368 MB / 0.7411 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.2498, allocations: 0.9023 MB / 0.742 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002728/0.2501, allocations: 116 kB / 0.7421 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.2529, allocations: 1.474 MB / 0.7436 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000379/0.2533, allocations: 302.8 kB / 0.7439 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009996/0.2543, allocations: 0.6958 MB / 0.7445 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003621/0.2579, allocations: 2.336 MB / 0.7468 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2579, allocations: 0 / 0.7468 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2579, allocations: 3.938 kB / 0.7468 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.033e-05/0.258, allocations: 4 kB / 0.7468 GB, free: 1.391 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.3165/0.5745, allocations: 1.782 MB / 0.7486 GB, free: 86.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.5746, allocations: 10.97 kB / 0.7486 GB, free: 86.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.5765, allocations: 348.8 kB / 0.7489 GB, free: 86.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.5788, allocations: 1.168 MB / 0.7501 GB, free: 85.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.5789, allocations: 63.09 kB / 0.7501 GB, free: 85.97 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.579, allocations: 79.75 kB / 0.7502 GB, free: 85.97 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.581, allocations: 0.977 MB / 0.7511 GB, free: 85.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.581, allocations: 5.188 kB / 0.7512 GB, free: 85.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/0.5811, allocations: 31.81 kB / 0.7512 GB, free: 85.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.5811, allocations: 22.39 kB / 0.7512 GB, free: 85.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.5831, allocations: 0.8027 MB / 0.752 GB, free: 85.36 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.005633/0.5887, allocations: 5.137 MB / 0.757 GB, free: 81.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.5903, allocations: 0.5647 MB / 0.7576 GB, free: 81.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006303/0.591, allocations: 262.2 kB / 0.7578 GB, free: 81.15 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.5921, allocations: 1.379 MB / 0.7592 GB, free: 79.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5922, allocations: 37.03 kB / 0.7592 GB, free: 79.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.206e-06/0.5922, allocations: 0 / 0.7592 GB, free: 79.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.006234/0.5984, allocations: 1.488 MB / 0.7606 GB, free: 79.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.5984, allocations: 57.47 kB / 0.7607 GB, free: 79.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.6003, allocations: 1.084 MB / 0.7618 GB, free: 78.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.6004, allocations: 42.22 kB / 0.7618 GB, free: 78.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.6007, allocations: 0.5381 MB / 0.7623 GB, free: 78.24 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.6009, allocations: 159.7 kB / 0.7625 GB, free: 78.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.6011, allocations: 130.5 kB / 0.7626 GB, free: 78.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.6012, allocations: 334.8 kB / 0.7629 GB, free: 77.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008007/0.602, allocations: 280.2 kB / 0.7632 GB, free: 77.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008812/0.6029, allocations: 499 kB / 0.7637 GB, free: 77.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.6043, allocations: 0.6602 MB / 0.7643 GB, free: 76.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6044, allocations: 1.656 kB / 0.7643 GB, free: 76.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002611/0.607, allocations: 0.9546 MB / 0.7652 GB, free: 76.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.607, allocations: 8.906 kB / 0.7652 GB, free: 76.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.607, allocations: 7.781 kB / 0.7653 GB, free: 76.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/0.6085, allocations: 315.1 kB / 0.7656 GB, free: 76.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.609, allocations: 119.8 kB / 0.7657 GB, free: 76.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.6105, allocations: 0.9013 MB / 0.7665 GB, free: 75.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.6118, allocations: 143.4 kB / 0.7667 GB, free: 75.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.6119, allocations: 36.34 kB / 0.7667 GB, free: 75.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001116/0.613, allocations: 493.2 kB / 0.7672 GB, free: 75.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008926/0.6139, allocations: 496.5 kB / 0.7677 GB, free: 75.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001361/0.6153, allocations: 0.6483 MB / 0.7683 GB, free: 74.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/0.6153, allocations: 1.281 kB / 0.7683 GB, free: 74.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002707/0.618, allocations: 0.9527 MB / 0.7692 GB, free: 74.47 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.618, allocations: 6.5 kB / 0.7692 GB, free: 74.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6181, allocations: 5.656 kB / 0.7692 GB, free: 74.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.6192, allocations: 302.9 kB / 0.7695 GB, free: 74.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.6197, allocations: 119.6 kB / 0.7696 GB, free: 74.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.621, allocations: 0.8968 MB / 0.7705 GB, free: 73.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.6223, allocations: 125.8 kB / 0.7706 GB, free: 73.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.6224, allocations: 33.67 kB / 0.7707 GB, free: 73.7 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.0002271/0.6226, allocations: 216.3 kB / 0.7709 GB, free: 73.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.6228, allocations: 118.3 kB / 0.771 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.625, allocations: 0.8945 MB / 0.7719 GB, free: 73.08 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.625, allocations: 4.656 kB / 0.7719 GB, free: 73.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.625, allocations: 0 / 0.7719 GB, free: 73.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.6253, allocations: 270.9 kB / 0.7721 GB, free: 72.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.6255, allocations: 11.03 kB / 0.7721 GB, free: 72.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007115/0.6262, allocations: 65.47 kB / 0.7722 GB, free: 72.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.23e-05/0.6263, allocations: 33.89 kB / 0.7722 GB, free: 72.84 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.002481/0.6288, allocations: 0.7352 MB / 0.7729 GB, free: 72.54 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