Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) 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.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001145/0.001145, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001196/0.001196, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7622/0.7622, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 74.73 kB / 0.5863 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1744, allocations: 80.93 MB / 0.6653 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.06925/0.2437, allocations: 61.17 MB / 0.7251 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.2625, allocations: 11.98 MB / 0.7368 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002798/0.2653, allocations: 59.62 kB / 0.7368 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.2679, allocations: 0.6909 MB / 0.7375 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006757/0.2747, allocations: 2.068 MB / 0.7395 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.2785, allocations: 1.212 MB / 0.7407 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005501/0.284, allocations: 3.083 MB / 0.7437 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.2863, allocations: 1.096 MB / 0.7448 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/0.2904, allocations: 1.382 MB / 0.7461 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.2924, allocations: 0.8945 MB / 0.747 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004203/0.2929, allocations: 116 kB / 0.7471 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003974/0.2968, allocations: 1.474 MB / 0.7485 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006168/0.2975, allocations: 294.9 kB / 0.7488 GB, free: 100 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4364/0.7339, allocations: 0.69 MB / 0.7495 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005081/0.739, allocations: 2.335 MB / 0.7518 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.739, allocations: 3.625 kB / 0.7518 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.625e-06/0.739, allocations: 0 / 0.7518 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.463e-05/0.7391, allocations: 0 / 0.7518 GB, free: 23.08 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.003861/0.743, allocations: 1.738 MB / 0.7535 GB, free: 22.22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.743, allocations: 9.047 kB / 0.7535 GB, free: 22.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.7448, allocations: 341 kB / 0.7538 GB, free: 22.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.7473, allocations: 1.167 MB / 0.755 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.7474, allocations: 61.84 kB / 0.755 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.7475, allocations: 81.44 kB / 0.7551 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.7497, allocations: 0.9682 MB / 0.756 GB, free: 21.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.7497, allocations: 5.203 kB / 0.756 GB, free: 21.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.614e-05/0.7498, allocations: 34.22 kB / 0.7561 GB, free: 21.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.7498, allocations: 19.06 kB / 0.7561 GB, free: 21.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.752, allocations: 0.8025 MB / 0.7569 GB, free: 21.57 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.007404/0.7594, allocations: 5.143 MB / 0.7619 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.7612, allocations: 0.5566 MB / 0.7624 GB, free: 18.44 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007854/0.762, allocations: 270.8 kB / 0.7627 GB, free: 18.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/0.7637, allocations: 1.37 MB / 0.764 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.7637, allocations: 36.62 kB / 0.7641 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 4.047e-06/0.7638, allocations: 0.5625 kB / 0.7641 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.007331/0.7711, allocations: 1.491 MB / 0.7655 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.7712, allocations: 56.22 kB / 0.7656 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.7736, allocations: 1.079 MB / 0.7666 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.7737, allocations: 35.58 kB / 0.7667 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005361/0.7743, allocations: 0.5318 MB / 0.7672 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.7744, allocations: 154.7 kB / 0.7673 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.7747, allocations: 136.3 kB / 0.7675 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.7748, allocations: 331.8 kB / 0.7678 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007887/0.7756, allocations: 274.9 kB / 0.768 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.7767, allocations: 497.8 kB / 0.7685 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.7783, allocations: 0.6541 MB / 0.7692 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.7784, allocations: 4.75 kB / 0.7692 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0028/0.7812, allocations: 0.9564 MB / 0.7701 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.7812, allocations: 9.719 kB / 0.7701 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.7812, allocations: 4.031 kB / 0.7701 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.7827, allocations: 319.3 kB / 0.7704 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/0.7834, allocations: 117.7 kB / 0.7705 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.7849, allocations: 0.8966 MB / 0.7714 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.7866, allocations: 140.5 kB / 0.7715 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.7867, allocations: 37.75 kB / 0.7716 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001366/0.788, allocations: 493.5 kB / 0.772 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009139/0.789, allocations: 493.3 kB / 0.7725 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001445/0.7904, allocations: 0.6476 MB / 0.7731 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-06/0.7904, allocations: 1.188 kB / 0.7732 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002663/0.7931, allocations: 0.9425 MB / 0.7741 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.7931, allocations: 10.05 kB / 0.7741 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.7932, allocations: 4.031 kB / 0.7741 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.7943, allocations: 300.7 kB / 0.7744 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.7948, allocations: 117.2 kB / 0.7745 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.7962, allocations: 0.9005 MB / 0.7754 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.7976, allocations: 125.5 kB / 0.7755 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.7977, allocations: 33.48 kB / 0.7755 GB, free: 13.37 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.0002774/0.798, allocations: 217.4 kB / 0.7757 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.7982, allocations: 113.2 kB / 0.7758 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.8005, allocations: 0.8936 MB / 0.7767 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.8005, allocations: 7.469 kB / 0.7767 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.8006, allocations: 6.562 kB / 0.7767 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.801, allocations: 254.2 kB / 0.777 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.8012, allocations: 9.594 kB / 0.777 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/0.8019, allocations: 61.11 kB / 0.777 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.802, allocations: 32.3 kB / 0.7771 GB, free: 12.87 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.002492/0.8045, allocations: 0.7339 MB / 0.7778 GB, free: 12.74 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