Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001087, allocations: 118 kB / 16.42 MB, free: 6.012 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.001218/0.001218, allocations: 183.4 kB / 17.35 MB, free: 5.629 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8141/0.8141, allocations: 132.2 MB / 423.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 65.5 kB / 0.582 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1662, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06661/0.2329, allocations: 61.19 MB / 0.7201 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01952/0.2524, allocations: 11.99 MB / 0.7318 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.255, allocations: 63.62 kB / 0.7319 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.2573, allocations: 0.6909 MB / 0.7325 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006101/0.2635, allocations: 2.068 MB / 0.7345 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.2667, allocations: 1.207 MB / 0.7357 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004649/0.2714, allocations: 3.099 MB / 0.7388 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002257/0.2736, allocations: 1.116 MB / 0.7398 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003451/0.2771, allocations: 1.365 MB / 0.7412 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.2789, allocations: 0.9218 MB / 0.7421 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003734/0.2792, allocations: 120 kB / 0.7422 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/0.2824, allocations: 1.45 MB / 0.7436 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006038/0.283, allocations: 302.8 kB / 0.7439 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.2843, allocations: 0.6997 MB / 0.7446 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004181/0.2885, allocations: 2.333 MB / 0.7469 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2886, allocations: 0 / 0.7469 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2886, allocations: 3.938 kB / 0.7469 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.652e-05/0.2886, allocations: 0 / 0.7469 GB, free: 1.352 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.3284/0.617, allocations: 1.746 MB / 0.7486 GB, free: 87.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.6171, allocations: 9.469 kB / 0.7486 GB, free: 87.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/0.6199, allocations: 463.9 kB / 0.749 GB, free: 87.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.6227, allocations: 1.166 MB / 0.7502 GB, free: 86.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.6228, allocations: 63.72 kB / 0.7502 GB, free: 86.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.6229, allocations: 87.84 kB / 0.7503 GB, free: 86.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.6255, allocations: 0.9995 MB / 0.7513 GB, free: 86.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.6255, allocations: 9.25 kB / 0.7513 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/0.6256, allocations: 30.41 kB / 0.7513 GB, free: 86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.6257, allocations: 18.66 kB / 0.7513 GB, free: 86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/0.6284, allocations: 0.9276 MB / 0.7522 GB, free: 85.71 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.005809/0.6342, allocations: 4.648 MB / 0.7568 GB, free: 82.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004127/0.6383, allocations: 0.9866 MB / 0.7577 GB, free: 82.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.6395, allocations: 413.6 kB / 0.7581 GB, free: 81.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007458/0.6402, allocations: 1.016 MB / 0.7591 GB, free: 80.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.6403, allocations: 40.89 kB / 0.7592 GB, free: 80.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.6403, allocations: 3.938 kB / 0.7592 GB, free: 80.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.008062/0.6483, allocations: 1.905 MB / 0.761 GB, free: 80.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.6484, allocations: 58 kB / 0.7611 GB, free: 80.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.6496, allocations: 0.9474 MB / 0.762 GB, free: 79.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.6497, allocations: 38.62 kB / 0.762 GB, free: 79.76 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.65, allocations: 0.5105 MB / 0.7625 GB, free: 79.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.6502, allocations: 187.7 kB / 0.7627 GB, free: 79.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.6504, allocations: 129.2 kB / 0.7628 GB, free: 79.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.6505, allocations: 333.9 kB / 0.7632 GB, free: 78.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009874/0.6514, allocations: 348 kB / 0.7635 GB, free: 78.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.6526, allocations: 0.5029 MB / 0.764 GB, free: 78.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.6545, allocations: 0.7531 MB / 0.7647 GB, free: 78.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6545, allocations: 5.375 kB / 0.7647 GB, free: 78.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002832/0.6574, allocations: 1.052 MB / 0.7658 GB, free: 77.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6574, allocations: 7.688 kB / 0.7658 GB, free: 77.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.6574, allocations: 2.469 kB / 0.7658 GB, free: 77.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.6586, allocations: 300.2 kB / 0.7661 GB, free: 77.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/0.6592, allocations: 130 kB / 0.7662 GB, free: 77.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.6605, allocations: 0.9012 MB / 0.7671 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.6616, allocations: 119.1 kB / 0.7672 GB, free: 76.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.6617, allocations: 33.11 kB / 0.7672 GB, free: 76.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001406/0.6631, allocations: 0.5515 MB / 0.7677 GB, free: 76.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/0.6642, allocations: 0.5098 MB / 0.7682 GB, free: 76.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001851/0.6661, allocations: 0.7402 MB / 0.769 GB, free: 76.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.6661, allocations: 1.094 kB / 0.769 GB, free: 76.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002747/0.6689, allocations: 1.044 MB / 0.77 GB, free: 75.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.6689, allocations: 6.719 kB / 0.77 GB, free: 75.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6689, allocations: 2.688 kB / 0.77 GB, free: 75.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009908/0.6699, allocations: 296.5 kB / 0.7703 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/0.6705, allocations: 137 kB / 0.7704 GB, free: 75.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.6717, allocations: 0.8858 MB / 0.7713 GB, free: 74.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.6728, allocations: 115.7 kB / 0.7714 GB, free: 74.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/0.6728, allocations: 26.48 kB / 0.7714 GB, free: 74.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0002217/0.6731, allocations: 215.1 kB / 0.7716 GB, free: 74.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.6732, allocations: 106 kB / 0.7717 GB, free: 74.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/0.6762, allocations: 1.146 MB / 0.7728 GB, free: 73.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.6762, allocations: 4 kB / 0.7728 GB, free: 73.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.6762, allocations: 1.188 kB / 0.7728 GB, free: 73.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.6766, allocations: 276 kB / 0.7731 GB, free: 73.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.6767, allocations: 13.66 kB / 0.7731 GB, free: 73.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/0.6775, allocations: 75.53 kB / 0.7732 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.6776, allocations: 36.2 kB / 0.7732 GB, free: 73.4 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.003091/0.6807, allocations: 0.8787 MB / 0.7741 GB, free: 72.96 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow could not be translated