Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001625/0.001625, allocations: 115 kB / 16.42 MB, free: 6.488 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.00182/0.00182, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.371/1.371, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 291.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 92.14 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4639, allocations: 86.99 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06374/0.5277, allocations: 61.17 MB / 0.8268 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.5439, allocations: 12 MB / 0.8385 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.5456, allocations: 67.62 kB / 0.8386 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.5475, allocations: 0.683 MB / 0.8392 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.5525, allocations: 1.959 MB / 0.8412 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.5554, allocations: 1.212 MB / 0.8423 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003946/0.5593, allocations: 3.087 MB / 0.8454 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.5611, allocations: 1.128 MB / 0.8465 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.564, allocations: 1.354 MB / 0.8478 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.5656, allocations: 0.9062 MB / 0.8487 GB, free: 40 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003292/0.566, allocations: 120 kB / 0.8488 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.5688, allocations: 1.454 MB / 0.8502 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003964/0.5692, allocations: 294.8 kB / 0.8505 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.5703, allocations: 0.6997 MB / 0.8512 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.5739, allocations: 2.343 MB / 0.8534 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.5739, allocations: 0 / 0.8534 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5739, allocations: 0 / 0.8534 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.895e-05/0.574, allocations: 0 / 0.8534 GB, free: 11.12 MB / 0.6231 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.003651/0.5776, allocations: 1.738 MB / 0.8551 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.5777, allocations: 8.031 kB / 0.8552 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/0.5805, allocations: 458.8 kB / 0.8556 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.5831, allocations: 1.179 MB / 0.8567 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.421e-05/0.5831, allocations: 66 kB / 0.8568 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.5833, allocations: 80 kB / 0.8569 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.5856, allocations: 1.002 MB / 0.8579 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.5857, allocations: 4 kB / 0.8579 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.656e-05/0.5858, allocations: 32 kB / 0.8579 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.5858, allocations: 23.94 kB / 0.8579 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/0.5886, allocations: 0.9329 MB / 0.8588 GB, free: 5.461 MB / 0.6231 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.006388/0.595, allocations: 4.667 MB / 0.8634 GB, free: 460 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004276/0.5993, allocations: 0.9926 MB / 0.8644 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.6004, allocations: 412.6 kB / 0.8647 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009653/0.6013, allocations: 1.017 MB / 0.8657 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.6014, allocations: 50.88 kB / 0.8658 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.755e-06/0.6014, allocations: 0 / 0.8658 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53): time 0.008035/0.6094, allocations: 1.897 MB / 0.8676 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.6095, allocations: 55.84 kB / 0.8677 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.611, allocations: 0.9551 MB / 0.8686 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.874e-05/0.6111, allocations: 41.7 kB / 0.8687 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004464/0.6115, allocations: 0.508 MB / 0.8692 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.6117, allocations: 185.3 kB / 0.8693 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.612, allocations: 126.1 kB / 0.8695 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6121, allocations: 326 kB / 0.8698 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.6132, allocations: 358.8 kB / 0.8701 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.6144, allocations: 0.4952 MB / 0.8706 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.6165, allocations: 0.7579 MB / 0.8713 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6165, allocations: 0 / 0.8713 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003062/0.6196, allocations: 1.053 MB / 0.8724 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.6196, allocations: 8.312 kB / 0.8724 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.6197, allocations: 4 kB / 0.8724 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.6209, allocations: 308.4 kB / 0.8727 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.6216, allocations: 135.8 kB / 0.8728 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.6232, allocations: 0.8912 MB / 0.8737 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.6242, allocations: 123.4 kB / 0.8738 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.6243, allocations: 27.98 kB / 0.8738 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001377/0.6257, allocations: 0.5596 MB / 0.8744 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001218/0.6269, allocations: 0.4975 MB / 0.8748 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002103/0.629, allocations: 0.7424 MB / 0.8756 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.629, allocations: 0 / 0.8756 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003005/0.632, allocations: 1.041 MB / 0.8766 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6321, allocations: 11.92 kB / 0.8766 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.6321, allocations: 4 kB / 0.8766 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.6332, allocations: 292.9 kB / 0.8769 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.6338, allocations: 131.8 kB / 0.877 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.6353, allocations: 0.8917 MB / 0.8779 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.6363, allocations: 107.7 kB / 0.878 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.6364, allocations: 31.98 kB / 0.878 GB, free: 0.8867 MB / 0.6387 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.0002328/0.6366, allocations: 216.1 kB / 0.8782 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.6369, allocations: 102.7 kB / 0.8783 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/0.6401, allocations: 1.153 MB / 0.8794 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.6401, allocations: 3.984 kB / 0.8794 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.6401, allocations: 0 / 0.8794 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/0.6405, allocations: 283.5 kB / 0.8797 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.6407, allocations: 8 kB / 0.8797 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008493/0.6416, allocations: 71.92 kB / 0.8798 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.6417, allocations: 40.5 kB / 0.8798 GB, free: 14.98 MB / 0.6544 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.003384/0.6451, allocations: 0.8827 MB / 0.8807 GB, free: 14.09 MB / 0.6544 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow could not be translated