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.001214/0.001214, allocations: 106.3 kB / 16.41 MB, free: 6.469 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.001151/0.001151, allocations: 192.3 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.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8129/0.8129, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 65.56 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1479, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06381/0.2118, allocations: 61.18 MB / 0.7201 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.2284, allocations: 12 MB / 0.7318 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.2306, allocations: 55.69 kB / 0.7318 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.2329, allocations: 0.6986 MB / 0.7325 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006563/0.2395, allocations: 2.064 MB / 0.7345 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.2429, allocations: 1.208 MB / 0.7357 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005152/0.2481, allocations: 3.096 MB / 0.7388 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003143/0.2513, allocations: 1.131 MB / 0.7399 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004767/0.2561, allocations: 1.359 MB / 0.7412 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.2582, allocations: 0.9218 MB / 0.7421 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005007/0.2587, allocations: 120 kB / 0.7422 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.2625, allocations: 1.443 MB / 0.7436 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005681/0.2631, allocations: 306.8 kB / 0.7439 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.2645, allocations: 0.7036 MB / 0.7446 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005081/0.2696, allocations: 2.351 MB / 0.7469 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2696, allocations: 0 / 0.7469 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2696, allocations: 0 / 0.7469 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.937e-05/0.2697, allocations: 0 / 0.7469 GB, free: 1.344 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.3622/0.6319, allocations: 1.779 MB / 0.7486 GB, free: 86.42 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.632, allocations: 10.31 kB / 0.7486 GB, free: 86.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/0.6349, allocations: 471.7 kB / 0.7491 GB, free: 86.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.6376, allocations: 1.178 MB / 0.7502 GB, free: 86.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/0.6377, allocations: 63.47 kB / 0.7503 GB, free: 86.01 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.6379, allocations: 80.59 kB / 0.7504 GB, free: 86.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.6403, allocations: 1.005 MB / 0.7513 GB, free: 85.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.6404, allocations: 9.062 kB / 0.7514 GB, free: 85.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-05/0.6404, allocations: 30.62 kB / 0.7514 GB, free: 85.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.6405, allocations: 19.28 kB / 0.7514 GB, free: 85.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.6431, allocations: 0.9281 MB / 0.7523 GB, free: 85.41 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.006723/0.6498, allocations: 4.659 MB / 0.7569 GB, free: 82.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004426/0.6542, allocations: 0.9869 MB / 0.7578 GB, free: 81.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.6554, allocations: 407.4 kB / 0.7582 GB, free: 81.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007943/0.6562, allocations: 1.018 MB / 0.7592 GB, free: 80.56 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.6563, allocations: 38.2 kB / 0.7592 GB, free: 80.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.567e-06/0.6563, allocations: 0.5938 kB / 0.7592 GB, free: 80.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.008709/0.665, allocations: 1.909 MB / 0.7611 GB, free: 79.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.6651, allocations: 62.61 kB / 0.7612 GB, free: 79.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.6668, allocations: 0.9509 MB / 0.7621 GB, free: 79.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.129e-05/0.6669, allocations: 38.52 kB / 0.7621 GB, free: 79.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.6673, allocations: 0.5117 MB / 0.7626 GB, free: 79.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.6675, allocations: 194.6 kB / 0.7628 GB, free: 78.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.6677, allocations: 131 kB / 0.7629 GB, free: 78.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.6678, allocations: 327 kB / 0.7633 GB, free: 78.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.6689, allocations: 355.7 kB / 0.7636 GB, free: 78.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.6701, allocations: 0.503 MB / 0.7641 GB, free: 78.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.6721, allocations: 0.75 MB / 0.7648 GB, free: 77.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6721, allocations: 5.234 kB / 0.7648 GB, free: 77.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003099/0.6752, allocations: 1.059 MB / 0.7659 GB, free: 77.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.6753, allocations: 10.34 kB / 0.7659 GB, free: 77.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6753, allocations: 3.359 kB / 0.7659 GB, free: 77.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.6766, allocations: 303.3 kB / 0.7662 GB, free: 77.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/0.6772, allocations: 133.2 kB / 0.7663 GB, free: 77.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.6786, allocations: 0.9046 MB / 0.7672 GB, free: 76.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.6798, allocations: 118.9 kB / 0.7673 GB, free: 76.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.313e-05/0.6799, allocations: 33.38 kB / 0.7673 GB, free: 76.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001518/0.6814, allocations: 0.5557 MB / 0.7679 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001091/0.6825, allocations: 0.5065 MB / 0.7684 GB, free: 76.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001931/0.6844, allocations: 0.7393 MB / 0.7691 GB, free: 75.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.836e-06/0.6844, allocations: 1.062 kB / 0.7691 GB, free: 75.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002919/0.6874, allocations: 1.046 MB / 0.7701 GB, free: 75.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6874, allocations: 6.312 kB / 0.7701 GB, free: 75.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6874, allocations: 3.031 kB / 0.7701 GB, free: 75.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.6884, allocations: 291.6 kB / 0.7704 GB, free: 75.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.6891, allocations: 137.2 kB / 0.7705 GB, free: 75.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.6903, allocations: 0.8952 MB / 0.7714 GB, free: 74.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.6916, allocations: 116.5 kB / 0.7715 GB, free: 74.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.6917, allocations: 31.92 kB / 0.7715 GB, free: 74.39 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.000278/0.692, allocations: 218 kB / 0.7717 GB, free: 74.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.6922, allocations: 111.4 kB / 0.7718 GB, free: 74.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/0.6952, allocations: 1.14 MB / 0.773 GB, free: 73.51 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.6952, allocations: 3.984 kB / 0.773 GB, free: 73.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6952, allocations: 1.188 kB / 0.773 GB, free: 73.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004471/0.6957, allocations: 278.7 kB / 0.7732 GB, free: 73.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.6958, allocations: 18.91 kB / 0.7732 GB, free: 73.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007892/0.6966, allocations: 75.72 kB / 0.7733 GB, free: 73.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.6967, allocations: 34.23 kB / 0.7734 GB, free: 73.18 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.003167/0.6999, allocations: 0.8819 MB / 0.7742 GB, free: 72.73 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