Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_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.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 111 kB / 16.42 MB, free: 6.461 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.001068/0.001068, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002192/0.002192, allocations: 294.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9308/0.9308, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 103.8 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3997, allocations: 86.98 MB / 0.7671 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05731/0.457, allocations: 61.17 MB / 0.8268 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.4729, allocations: 11.99 MB / 0.8385 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.4745, allocations: 59.62 kB / 0.8386 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.4761, allocations: 0.683 MB / 0.8392 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004538/0.4807, allocations: 1.961 MB / 0.8411 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.4834, allocations: 1.217 MB / 0.8423 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00347/0.4869, allocations: 3.091 MB / 0.8454 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.4882, allocations: 1.128 MB / 0.8465 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.4908, allocations: 1.366 MB / 0.8478 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.4919, allocations: 0.9033 MB / 0.8487 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.4921, allocations: 116 kB / 0.8488 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.4945, allocations: 1.447 MB / 0.8502 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.4948, allocations: 298.8 kB / 0.8505 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000602/0.4954, allocations: 0.7036 MB / 0.8512 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.4981, allocations: 2.336 MB / 0.8534 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4981, allocations: 0 / 0.8534 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4981, allocations: 0 / 0.8534 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.4981, allocations: 0 / 0.8534 GB, free: 11.09 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.002791/0.5009, allocations: 1.73 MB / 0.8551 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.501, allocations: 8.031 kB / 0.8551 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.5035, allocations: 458.7 kB / 0.8556 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.5055, allocations: 1.171 MB / 0.8567 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.5056, allocations: 62 kB / 0.8568 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.5057, allocations: 84 kB / 0.8569 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.5079, allocations: 1.002 MB / 0.8578 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.5079, allocations: 7.938 kB / 0.8578 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/0.508, allocations: 32 kB / 0.8579 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.508, allocations: 20 kB / 0.8579 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.5106, allocations: 0.9368 MB / 0.8588 GB, free: 5.438 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.005703/0.5163, allocations: 4.684 MB / 0.8634 GB, free: 416 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/0.5205, allocations: 0.9886 MB / 0.8644 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.5216, allocations: 409.2 kB / 0.8647 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009692/0.5226, allocations: 1.017 MB / 0.8657 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.5226, allocations: 38.94 kB / 0.8658 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.695e-06/0.5226, allocations: 3.938 kB / 0.8658 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53): time 0.009619/0.5323, allocations: 2.162 MB / 0.8679 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.5323, allocations: 63.72 kB / 0.8679 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.5336, allocations: 0.9509 MB / 0.8689 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.455e-05/0.5337, allocations: 37.7 kB / 0.8689 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.5341, allocations: 0.4963 MB / 0.8694 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.5343, allocations: 193.3 kB / 0.8696 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.5346, allocations: 126.1 kB / 0.8697 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5347, allocations: 326 kB / 0.87 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.5358, allocations: 354.9 kB / 0.8704 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.537, allocations: 0.5117 MB / 0.8709 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.5392, allocations: 0.754 MB / 0.8716 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5392, allocations: 0 / 0.8716 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002985/0.5422, allocations: 1.068 MB / 0.8726 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5422, allocations: 4 kB / 0.8726 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5422, allocations: 4 kB / 0.8726 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.5435, allocations: 299.9 kB / 0.8729 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.5442, allocations: 135.8 kB / 0.8731 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.5457, allocations: 0.8918 MB / 0.8739 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/0.5467, allocations: 123.3 kB / 0.874 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/0.5468, allocations: 31.98 kB / 0.8741 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001349/0.5481, allocations: 0.5619 MB / 0.8746 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001203/0.5493, allocations: 0.5116 MB / 0.8751 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002056/0.5514, allocations: 0.7424 MB / 0.8758 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.5514, allocations: 0 / 0.8758 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002946/0.5544, allocations: 1.045 MB / 0.8769 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.5544, allocations: 8 kB / 0.8769 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.5544, allocations: 320 / 0.8769 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.5555, allocations: 292.6 kB / 0.8772 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.5561, allocations: 135.8 kB / 0.8773 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.5575, allocations: 0.9024 MB / 0.8782 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009738/0.5585, allocations: 111.6 kB / 0.8783 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.5586, allocations: 27.98 kB / 0.8783 GB, free: 0.5508 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.0002135/0.5588, allocations: 208.1 kB / 0.8785 GB, free: 348 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.559, allocations: 110.6 kB / 0.8786 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/0.5637, allocations: 1.316 MB / 0.8799 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.5637, allocations: 7.922 kB / 0.8799 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5637, allocations: 8 kB / 0.8799 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.5641, allocations: 271.5 kB / 0.8802 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.5643, allocations: 12 kB / 0.8802 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008444/0.5651, allocations: 83.78 kB / 0.8803 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.5652, allocations: 32.52 kB / 0.8803 GB, free: 14.48 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.003391/0.5686, allocations: 0.8751 MB / 0.8811 GB, free: 13.59 MB / 0.6544 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow could not be translated