Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.305/2.305, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 185.3 kB / 326.3 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.399/2.399, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008973/0.000897, allocations: 93.34 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004857, allocations: 13.47 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1962, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.07204/0.2683, allocations: 56.55 MB / 0.9547 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01941/0.2878, allocations: 11.1 MB / 0.9656 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.29, allocations: 47.69 kB / 0.9656 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002465/0.2925, allocations: 468.8 kB / 0.966 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006657/0.2992, allocations: 1.518 MB / 0.9675 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004321/0.3036, allocations: 0.8846 MB / 0.9684 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00663/0.3102, allocations: 3.422 MB / 0.9717 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.3126, allocations: 0.8575 MB / 0.9726 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/0.3161, allocations: 1.034 MB / 0.9736 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.3183, allocations: 0.8244 MB / 0.9744 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.3187, allocations: 44 kB / 0.9744 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003925/0.3227, allocations: 1.088 MB / 0.9755 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005952/0.3233, allocations: 199 kB / 0.9757 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006812/0.324, allocations: 285.1 kB / 0.9759 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003743/0.3278, allocations: 1.637 MB / 0.9775 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3278, allocations: 4 kB / 0.9776 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3278, allocations: 0 / 0.9776 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.77e-05/0.3279, allocations: 0 / 0.9776 GB, free: 1.336 MB / 0.6198 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.004649/0.3326, allocations: 1.501 MB / 0.979 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.3326, allocations: 12.03 kB / 0.979 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004723/0.3374, allocations: 0.5144 MB / 0.9795 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/0.3411, allocations: 1.102 MB / 0.9806 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007023/0.3419, allocations: 129.9 kB / 0.9807 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.3421, allocations: 84 kB / 0.9808 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003862/0.346, allocations: 1.029 MB / 0.9818 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.3461, allocations: 0 / 0.9818 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.3462, allocations: 32 kB / 0.9818 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.3463, allocations: 20 kB / 0.9819 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004988/0.3513, allocations: 1.007 MB / 0.9828 GB, free: 11.76 MB / 0.6355 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.0107/0.362, allocations: 4.715 MB / 0.9875 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007838/0.3699, allocations: 1.131 MB / 0.9886 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/0.3721, allocations: 441.9 kB / 0.989 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/0.3736, allocations: 1.029 MB / 0.99 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.3737, allocations: 39 kB / 0.99 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 6.973e-06/0.3737, allocations: 7.984 kB / 0.99 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.0191/0.3928, allocations: 2.49 MB / 0.9925 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3929, allocations: 59.84 kB / 0.9925 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.3951, allocations: 0.9314 MB / 0.9934 GB, free: 284 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.3953, allocations: 41.7 kB / 0.9935 GB, free: 236 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006778/0.396, allocations: 0.4964 MB / 0.994 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.3964, allocations: 189.2 kB / 0.9941 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.3964, allocations: 16 kB / 0.9941 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3966, allocations: 322 kB / 0.9945 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.3987, allocations: 368.9 kB / 0.9948 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/0.401, allocations: 0.5428 MB / 0.9953 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.4032, allocations: 401.9 kB / 0.9957 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/0.4033, allocations: 4 kB / 0.9957 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.007572/0.4109, allocations: 1.283 MB / 0.997 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.4111, allocations: 164.3 kB / 0.9971 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4111, allocations: 4 kB / 0.9971 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/0.4134, allocations: 329.8 kB / 0.9975 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.4147, allocations: 147.8 kB / 0.9976 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/0.4175, allocations: 0.929 MB / 0.9985 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.4198, allocations: 183.2 kB / 0.9987 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.42, allocations: 27.98 kB / 0.9987 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.42, allocations: 4 kB / 0.9987 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007021/0.427, allocations: 1.154 MB / 0.9998 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.4271, allocations: 0 / 0.9998 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.4291, allocations: 324.8 kB / 1 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.4305, allocations: 147.8 kB / 1 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/0.4333, allocations: 0.9231 MB / 1.001 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.4355, allocations: 180.4 kB / 1.001 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.4357, allocations: 27.98 kB / 1.001 GB, free: 7.941 MB / 0.6511 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008055/0.4365, allocations: 349 kB / 1.002 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.4369, allocations: 110.7 kB / 1.002 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008746/0.4457, allocations: 1.446 MB / 1.003 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/0.4457, allocations: 3.984 kB / 1.003 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.4458, allocations: 3.938 kB / 1.003 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009067/0.4467, allocations: 291.4 kB / 1.004 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.4469, allocations: 8 kB / 1.004 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/0.4488, allocations: 123.9 kB / 1.004 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.449, allocations: 32.52 kB / 1.004 GB, free: 5.551 MB / 0.6511 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.006999/0.456, allocations: 1.013 MB / 1.005 GB, free: 4.535 MB / 0.6511 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.