Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 112 kB / 16.42 MB, free: 6.516 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.001324/0.001325, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.619/2.619, allocations: 472.7 MB / 0.746 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 75.88 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.775/0.7763, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06119/0.8375, allocations: 61.25 MB / 1.286 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.8536, allocations: 11.99 MB / 1.298 GB, free: 4.035 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.8557, allocations: 63.62 kB / 1.298 GB, free: 3.973 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.8577, allocations: 0.6909 MB / 1.299 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005227/0.863, allocations: 2.072 MB / 1.301 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.8659, allocations: 1.198 MB / 1.302 GB, free: 4 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0039/0.8698, allocations: 3.099 MB / 1.305 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.8714, allocations: 1.092 MB / 1.306 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.8744, allocations: 1.381 MB / 1.307 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.8759, allocations: 0.8906 MB / 1.308 GB, free: 9.496 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.8762, allocations: 116 kB / 1.308 GB, free: 9.383 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002804/0.879, allocations: 1.462 MB / 1.31 GB, free: 7.918 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003368/0.8793, allocations: 298.8 kB / 1.31 GB, free: 7.625 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008881/0.8802, allocations: 0.6919 MB / 1.311 GB, free: 6.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00359/0.8838, allocations: 2.313 MB / 1.313 GB, free: 4.613 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8838, allocations: 3.938 kB / 1.313 GB, free: 4.609 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8838, allocations: 0 / 1.313 GB, free: 4.609 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.479e-05/0.8839, allocations: 4 kB / 1.313 GB, free: 4.605 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00319/0.8871, allocations: 1.767 MB / 1.315 GB, free: 2.777 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.8871, allocations: 8.031 kB / 1.315 GB, free: 2.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.8888, allocations: 355.7 kB / 1.315 GB, free: 2.422 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.8911, allocations: 1.164 MB / 1.316 GB, free: 1.199 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.8911, allocations: 62 kB / 1.316 GB, free: 1.141 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.8913, allocations: 80 kB / 1.316 GB, free: 1.062 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.8931, allocations: 0.9664 MB / 1.317 GB, free: 36 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.8931, allocations: 7.938 kB / 1.317 GB, free: 28 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.8932, allocations: 32.05 kB / 1.317 GB, free: 15.99 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.8932, allocations: 20 kB / 1.317 GB, free: 15.97 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.8952, allocations: 0.8078 MB / 1.318 GB, free: 15.17 MB / 1.045 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.005831/0.9011, allocations: 5.145 MB / 1.323 GB, free: 9.652 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.9025, allocations: 0.5546 MB / 1.324 GB, free: 9.086 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/0.9031, allocations: 272.6 kB / 1.324 GB, free: 8.816 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.9044, allocations: 1.365 MB / 1.325 GB, free: 7.156 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.9044, allocations: 42.56 kB / 1.325 GB, free: 7.105 MB / 1.045 GB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.9044, allocations: 0 / 1.325 GB, free: 7.105 MB / 1.045 GB Notification: Performance of matching and sorting (n=43): time 0.007507/0.9119, allocations: 1.759 MB / 1.327 GB, free: 5.316 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.912, allocations: 63.34 kB / 1.327 GB, free: 5.242 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.9135, allocations: 1.072 MB / 1.328 GB, free: 4.156 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.24e-05/0.9136, allocations: 37.7 kB / 1.328 GB, free: 4.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.914, allocations: 0.5475 MB / 1.329 GB, free: 3.562 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.9141, allocations: 150.7 kB / 1.329 GB, free: 3.414 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.9144, allocations: 138.2 kB / 1.329 GB, free: 3.27 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.9145, allocations: 330 kB / 1.329 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/0.9152, allocations: 275.3 kB / 1.329 GB, free: 2.672 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008944/0.9161, allocations: 0.4978 MB / 1.33 GB, free: 2.074 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.9175, allocations: 0.6598 MB / 1.331 GB, free: 1.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.9175, allocations: 4 kB / 1.331 GB, free: 1.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002356/0.9199, allocations: 0.9505 MB / 1.332 GB, free: 392 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.9199, allocations: 5.719 kB / 1.332 GB, free: 388 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.9199, allocations: 12.06 kB / 1.332 GB, free: 376 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.9211, allocations: 303.1 kB / 1.332 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.9216, allocations: 123.8 kB / 1.332 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.923, allocations: 0.8996 MB / 1.333 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.9241, allocations: 155.4 kB / 1.333 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.9242, allocations: 31.98 kB / 1.333 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001023/0.9252, allocations: 486.6 kB / 1.333 GB, free: 14.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009064/0.9261, allocations: 0.5017 MB / 1.334 GB, free: 13.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001328/0.9275, allocations: 0.6507 MB / 1.335 GB, free: 13.04 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.52e-06/0.9275, allocations: 4 kB / 1.335 GB, free: 13.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002334/0.9298, allocations: 0.9505 MB / 1.336 GB, free: 12.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.9299, allocations: 8 kB / 1.336 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.9299, allocations: 7.984 kB / 1.336 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.9309, allocations: 300.6 kB / 1.336 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.9314, allocations: 119.8 kB / 1.336 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.9327, allocations: 0.89 MB / 1.337 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.9338, allocations: 131.6 kB / 1.337 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/0.9339, allocations: 31.98 kB / 1.337 GB, free: 10.57 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0002249/0.9342, allocations: 220.1 kB / 1.337 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.9344, allocations: 115.2 kB / 1.337 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003449/0.9378, allocations: 1.059 MB / 1.338 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.9378, allocations: 0 / 1.338 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.9379, allocations: 0 / 1.338 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.9383, allocations: 264.1 kB / 1.339 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.9384, allocations: 8 kB / 1.339 GB, free: 8.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/0.9391, allocations: 67.86 kB / 1.339 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.9392, allocations: 32.33 kB / 1.339 GB, free: 8.781 MB / 1.061 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.002452/0.9417, allocations: 0.7226 MB / 1.339 GB, free: 8.059 MB / 1.061 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity could not be translated